SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I been having issues where I start a transfer over nfs or cifs and it starts ok at about 120MBps over the LAN, than the transfer speeds starts decreasing all the way down to like 1KBps a few seconds pass and it bursts back to 50MBps and it keeps fluctuating the same way with different speeds till its done... Its very annoying!
a simple 700MB iso takes me like 5 min to transfer. Please not that is not a network issue since I can transfer files with my macs just fine.
This issue is isolated to the slackware systems only.
I have two Slackware 13.37 x86_64 systems that do the same thing.
Check your network device for LAN throughput and make sure the device does not have any preset management tools configured to limit speeds and bandwidth based on usage if the usage gets heavy.
If you do, set the port your workstation and/or the server to EXEMPT or similar control status. Often this is labeled as exempt, disabled, or maximum bandwidth more most switches and routers.
Also, make sure you have the appropriate cabling for your network. Make sure you are using at minimum CAT5e Ethernet rated cables. Avoid using Hubs devices as well, and use Switches instead.
Slackware shouldn't be the problem in this case, and neither should the workstation or the servers.
Check your network device for LAN throughput and make sure the device does not have any preset management tools configured to limit speeds and bandwidth based on usage if the usage gets heavy.
If you do, set the port your workstation and/or the server to EXEMPT or similar control status. Often this is labeled as exempt, disabled, or maximum bandwidth more most switches and routers.
Also, make sure you have the appropriate cabling for your network. Make sure you are using at minimum CAT5e Ethernet rated cables. Avoid using Hubs devices as well, and use Switches instead.
Slackware shouldn't be the problem in this case, and neither should the workstation or the servers.
Sorry but you are wrong. Slackware is the problem in this case. The LAN or the firewalls are not enforcing QoS or Traffic Shaping. I can not make nothing out of this one. Its only this two machines... I can take them too different areas of the house and they do the same thing.
And to my test it seems at the protocol level:
Client connecting to 10.30.2.52, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 10.30.2.51 port 50011 connected with 10.30.2.52 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.10 GBytes 942 Mbits/sec
root@oscuridad:/media#
Well you posted when I did. And iperf looks fine. Looks as if the hardware and wiring is just fine.
What do your smb.conf / /etc/exports and mount options look like?
Also, could you run iperf with a longer test, just to make sure there isn't a buffer problem on the NICs. --time 120 instead of the default 10 seconds?
Last edited by disturbed1; 09-30-2011 at 12:32 PM.
Well you posted when I did. And iperf looks fine. Looks as if the hardware and wiring is just fine.
What do your smb.conf / /etc/exports and mount options look like?
Also, could you run iperf with a longer test, just to make sure there isn't a buffer problem on the NICs. --time 120 instead of the default 10 seconds?
disturbed1,
Thanks for the help. I will post the results in a bit. I have my hands tide with a RHEL5 install.
Like the iperf. To me appears to rule any questions on the hardware and wires. Some Intel NICS have known eeprom issues, that are never seen with short bursts of traffic. I'm sure Intel is not the only NIC that has a similar issue.
Considering I don't have any transfer issues, I'll point out some of the differences I see.
My smb.conf does not have any socket options. I do recall reading different docs that stated different send and receive buffers to tune performance. Changing these values never yielded better performance, and in some cases hurt performance.
Quote:
SO_SNDBUF and SO_RCVBUF
The send and receive buffers can often be the reset to a value higher than that of the operating system. This yields a marginal increase of speed (until it reaches a point of diminishing returns).
Are you trying to write to an NTFS file system when you do the transfers?
Quote:
root@nas-node:~#
suggests you are attempting to write to some NAS device
I get the impression that the LAN configuration is all OK. The problem comes with writing the transferred data. I have seen slowing write performance when writing large files to NTFS file systems.
Are you trying to write to an NTFS file system when you do the transfers?
suggests you are attempting to write to some NAS device
I get the impression that the LAN configuration is all OK. The problem comes with writing the transferred data. I have seen slowing write performance when writing large files to NTFS file systems.
Yes one is a NAS and two are slackware. All systems are Ext3.
I been having issues where I start a transfer over nfs or cifs and it starts ok at about 120MBps over the LAN, than the transfer speeds starts decreasing all the way down to like 1KBps a few seconds pass and it bursts back to 50MBps and it keeps fluctuating the same way with different speeds till its done... Its very annoying!
a simple 700MB iso takes me like 5 min to transfer. Please not that is not a network issue since I can transfer files with my macs just fine.
This issue is isolated to the slackware systems only.
I have two Slackware 13.37 x86_64 systems that do the same thing.
LAN is a GigE network at 1GBps
Any ideas?
TIA!
Are you writing to a D-Link dns323 nas enclosure?
If so then both reads and writes to that thing are somewhere between 8-20 Mb/s.
On my Gb lan I can't get more than about 12Mb/s speed out of the dns323 with transfers from/to both Slackware and Win7 systems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.