-
Network speed issues
I recently got a new 10/100/100 switch and 2 cards to match, one installed on a Windows XP sp2 box and the other in a fedora core 2 box, both are showing up as Gbit. My problem is as I am transferring files I only get about 1.5% network utilization, both computers at over 2ghz and have 1gig of ram per PC. Dose anyone know why I am not getting more throughput or is that all I should expect? Thanks very much in advance.
-
Okay at the risk of sounding goofy have you checked your ethernet cable? Is it a new cable or an old one you had laying around. Is it cat5 or cat6?
-
You might want to check that both of the cards are in full duplex mode. that is the only way you are going to get gigabit is if you are using all of the wires.
-
Cables are both cat 5e and working according to a fluke and the switch(amber for 100, green for 1000 according to book), and i have both set to full dulpex.
Thanks for the ideas so far. :)
-
hmm all out of ideas. gl figure'n it out
-
Okay another oddball thought here. Have you checked the actual speeds? Not the % but find out how long it takes to transfer files? Sometimes the various "monitors" can be somewhat misleading. Also you have the drivers properly installed on BOTH machines? Do you have another windows box you could test it out with? it may be a problem in samba.
-
For the hell of it, set your Duplex to "Auto"...let the switch assing the duplex settings for your NIC's...I know you set Full Duplex and the cards will handle, but most of the time, its best to let the switch do the negotiation.
You might also set up one machine as a "HTTP" server and see what it says your download rate is when your pulling a file off of one of the other machines.
Also, what box are you using to push and pull the file?
-
A little more on set up, my linux box is acting as the file sever running samba. I have the drive maped to the windows computer that is downloading the files. I am getting ready to switch to auto as soon as I get done posting, I will let you know how it gose.
Once more thank you for the sugestion.
-
I started httpd and used yes >> index.html to make a rather large web page, upon connection things looked up it shot my ulitization up to 12.5% but it soon fell to 1% once more as the page continued to load for another 48 sec.
-
So this is just testing your connection by serving web pages?
Put a file on their...say something greater than 100MB, then download it...see what kind of speed you get on that here and post it.
-
I got 5000kb/sec or so with only 3% network utilization so mabey i am missinterperting what network utilzation means in the windows volcabulary of things.
Thanks for all the suggestions and help.
-
kb or KB?
kb = bits
KB = bytes
if its KB 5000 is about what? 50Mbps I belive..approximately.
Can you test it vice versa? I.e. Install IIS on your windows box and use wget to download from your linux box.
-
KB pardon my caps, i am working on setting up iis right now.
-
From the Windows (serving the file) to the Linux (downlaoding the file) i get about 20,000KB/sec.
-
Ok, well thats about right then....If I'm correct, 20,000KB is something like 165Mbps or more. I don't think you can expect much more, as I believe that you can only download as fast as your hard drive can write.
However, one would assume that you should be able to hit that kinda of speed downloading to your windows box. Do you have any sort of AV or firewall on the windows machine? Maybe its scanning the file as its downloaded.
-
Well only thing I got running on my windows Box is AVG free. So i'm not sure if it scans traffic but i don't think it dosen't. And i agree i am happy with the speed now.
ZomBieMann77- i don't have any other windows box that is Gbit able.
Thank you for all the help guys and gals.
-
Use a real throughput testing tool like ttcp; This tool is often included on linux (or in packages) and also availible as a windows port (http://www.pcausa.com/Utilities/pcattcp.htm).
This way you eliminate disk read/write and upper layer protocols overhead from the equasion...
Ammo
-
Thanks for that program, here are the outputs of it.
These are more like the speeds I am looking for how ever I did notice that if I directed the out put to stdout insead of sinking it, the speeds would drop back down to around 300, and that would cause roughly 50% processor utilization and about 3% network according to taskman, i think task man is wrong.
On another note i found that if i run tcpdump while transfering files off my samba folder it would increase the speed by about 5x any thoughs on that? I means its like hitting the lightning button.
From windows to linux
E:\alien>PCATTCP.exe -t 192.168.1.4
PCAUSA Test TCP Utility V2.01.01.08
TCP Transmit Test
Transmit : TCP -> 192.168.1.4:5001
Buffer Size : 8192; Alignment: 16384/0
TCP_NODELAY : DISABLED (0)
Connect : Connected to 192.168.1.4:5001
Send Mode : Send Pattern; Number of Buffers: 2048
Statistics : TCP -> 192.168.1.4:5001
16777216 bytes in .50 real seconds = 32768.00 KB/sec +++
numCalls: 2048; msec/call: 0.25; calls/sec: 4096.00
From Linux to windows
[root@Green log]# ttcp -ts 192.168.1.3
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> 192.168.1.3
ttcp-t: socket
ttcp-t: connect
ttcp-t: 16777216 bytes in 0.44 real seconds = 37387.27 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 0.22, calls/sec = 4673.41
ttcp-t: 0.0user 0.4sys 0:00real 97% 0i+0d 0maxrss 0+4pf 9+6csw