View previous topic :: View next topic |
Author |
Message |
guni019 n00b

Joined: 12 Apr 2004 Posts: 22
|
Posted: Mon Jun 21, 2004 7:35 pm Post subject: Wireless network and NFS |
|
|
Hey,
I have a NFS server who shares the portage dir over a wireless netwerk. When i do an emerge -p world, it is very slow around 30KB/sec, but when i transfer a file it's around 600KB/sec.
Now when i try to do an emerge -p world with a wired netwerk it is around 1MB/Sec pulling my CPU at 99%.
I have tried different rsize and wsizes, and also switched between udp and tcp. But nothing seems to help for my wireless network.
Anyone know what's wrong? |
|
Back to top |
|
 |
flavio Apprentice


Joined: 12 Mar 2004 Posts: 161
|
Posted: Mon Jun 21, 2004 9:04 pm Post subject: |
|
|
It's difficult to have an educated guess without any other information. Can you try running an sniffer (tcpdump would be fine) and see if you see retransmissions which would indicate lost packets? Please also look at the interfaces to see if they are dropping packets for some reason.
You can expect to have very bad throughput if there are too many packets lost.
Regards,
Flavio _________________ Flavio Villanustre
flavio AT geminis dot dyndns dot org |
|
Back to top |
|
 |
guni019 n00b

Joined: 12 Apr 2004 Posts: 22
|
Posted: Mon Jun 21, 2004 9:38 pm Post subject: |
|
|
ifconfig gives me no errors, i tried 2 different wireless network card the cisco 340 PCMCIA and netgear 101B usb and they both have the same speeds.
for specs of the server it a 2.4 Ghz Pentium 4 with 512 MB RAM and running kernel 2.6.6. The client is a 2.0 Ghz Pentium 4 with 256 RAM also running kernel 2.6.6. As i said when i transfer a big file speeds are very high. but when i do an emerge -p world or emerge sync speeds drop to 1-30KB/Sec. From what i see from tcpdump nothing is wrong. |
|
Back to top |
|
 |
guni019 n00b

Joined: 12 Apr 2004 Posts: 22
|
Posted: Tue Jun 22, 2004 1:57 pm Post subject: |
|
|
Well, nothing seems to solve my problem with NFS, so i switched to Samba and when i now do an emerge -p world or an emerge sync it is 3 times as fast as with NFS. |
|
Back to top |
|
 |
|