Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 can transfer file at 2MBps using ftp.I need to increase it to 5MBps,I tried changing following values in /etc/sysctl.conf
# increase TCP max buffer size setable using setsockopt()
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
# set max to at least 4MB, or higher if you use very high BDP paths
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
and then executed sysctl -p,
but then too there is no change in the transfer speed.Can anyone please guide me how to increase the ftp transfer speed.I am using vsftp.
Then I would suggest that the path between them has restrictions, are there any firewalls between the two machines ? ... also can you ensure both machines are connected at least at 100 Mb full duplex ?
Using the default interface 'eth0'.
Basic registers of MII PHY #1: 3100 786d 0243 0c54 01e1 4de1 0003 0003.
The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
Basic mode control register 0x3100: Auto-negotiation enabled.
You have link beat, and everything is working OK.
Your link partner advertised 4de1: Flow-control 100baseTx-FD 100baseTx 10baseT.
End of basic transceiver information.
I have tested ftp transfer without I/O transfer as
ftp> put "|dd if=/dev/zero bs=1M count=100" /dev/null,
I am getting ftp transfer speed upto 37MB/s.
I am accessing the files from pendrive for ftp transfer,
and the output of hdparm -t /dev/sda1 is
hdparm -t /dev/sda1
/dev/sda1:
Timing buffered disk reads: 28 MB in 3.09 seconds = 9.07 MB/sec
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.