Re: ftp limits bandwidth
It looks like filezilla uses several transfert at the same time to reach 1Mo/s however each transfert is ~400Ko/s as for OpenBSD's FTP client. Maybe the bandwith limit per file transfered is limited from the server side ? Is there any way to make multiple transferts at the same time with mget since that would accelerate some transfers in some cases. Regards, JF 2009/6/20 Jean-Frangois SIMON jfsimon1...@gmail.com Hi, I forgot to tell you more sure, however the crystal ball worked very well. It's a 12M ADSL that works at approximately 1300 ko/s at max speed. When downloading with a browser a client such as filezilla it works at full speed but when I type ftp and use OBSD's one it is rather 350/380 max never more. Actually if anything would limit the bandwith the other client would be so. That's stange, I changed sysctl inet.tcp recv/send to 65536 but it's still same transfer speed. I use it on ftps that are rather fast so it looks like ftp is somewhere limited in my configuration. Regards, JF 2009/6/20 Marcos Laufer mar...@ipv4networks.com This is a very interesting subject. Is there any official paper describing how to tune TCP on OpenBSD? Googling i found this two interesting links, but none specifically mentions OpenBSD: Enabling high performance data transfers http://www.psc.edu/networking/projects/tcptune/ TCP tuning cookbook http://proj.sunet.se/E2E/tcptune.html This other paper is about OpenBSD, but i do not know how accurate is it: Network and speed performance guide (OpenBSD) https://calomel.org/network_performance.html Opinions? Marcos Markus Hennecke escribis: Jesus Sanchez schrieb: Jean-Frangois SIMON escribis: Hi all, It looks like the max bandwidth of ftp is somehow 350 Kb/s. Is this normaland if so can it be increased ? ?? it must be your bandwidth limit, there's nothing about a 350 kb/s limit anywhere. please, read carefulle the ftp manpage. As there are some information missing, I look into my crystal ball and see that Jean-Frangois is downloading with help of the ftp program via DSL which is either 6Mbit or faster. Due to the latency of the DSL line the standard settings for net.inet.tcp.recvspace (see sysctl) are not correct for this kind of setup. He should try to increase it, for me 65536 works on 6Mbit DSL. Please tell me in case this is all wrong so that I can order a new crystal ball! Enough guessing, HTH Markus
Re: ftp limits bandwidth
2009/6/21 Jean-Frangois SIMON jfsimon1...@gmail.com It looks like filezilla uses several transfert at the same time to reach 1Mo/s That indeed appears to be the case. From http://itmanagement.earthweb.com/entdev/article.php/3802111/FileZilla-One-Swe et-Free-FTP-Client.htm : A multiple transfer function for example can support more than one transfer thread at a time; that's a big help when manipulating numerous smaller files. If multiple threads aren't enough, FileZilla will go you one better by allowing multiple instances. That is, more than one copy of Firezilla can be up and running at the same time. In practice this offers the possibility of uploading to multiple FTP servers or connecting to a single FTP server as more than one user. Multiple FTP transfers yay or nay are a tough call -- on the one hand, it's not nice, it's cheating. OTOH, everybody and their grandmother have been doing multiple transfers for ages. In Filezilla, if you go to Edit -- Settings -- Transfers and set Maximum simultaneous transfers to 1, does Filezilla still transfer faster than OpenBSD's stock ftp(1)? regards, --ropers
Re: ftp limits bandwidth
Hi, Thanks for clarification. Never said stock ... OBSD's brilliant. Thnks ;) 2009/6/21 ropers rop...@gmail.com 2009/6/21 Jean-Frangois SIMON jfsimon1...@gmail.com It looks like filezilla uses several transfert at the same time to reach 1Mo/s That indeed appears to be the case. From http://itmanagement.earthweb.com/entdev/article.php/3802111/FileZilla-One-Swe et-Free-FTP-Client.htm : A multiple transfer function for example can support more than one transfer thread at a time; that's a big help when manipulating numerous smaller files. If multiple threads aren't enough, FileZilla will go you one better by allowing multiple instances. That is, more than one copy of Firezilla can be up and running at the same time. In practice this offers the possibility of uploading to multiple FTP servers or connecting to a single FTP server as more than one user. Multiple FTP transfers yay or nay are a tough call -- on the one hand, it's not nice, it's cheating. OTOH, everybody and their grandmother have been doing multiple transfers for ages. In Filezilla, if you go to Edit -- Settings -- Transfers and set Maximum simultaneous transfers to 1, does Filezilla still transfer faster than OpenBSD's stock ftp(1)? regards, --ropers
Re: ftp limits bandwidth
On 2009-06-20, Markus Hennecke markus-henne...@markus-hennecke.de wrote: Jesus Sanchez schrieb: Jean-Frangois SIMON escribis: Hi all, It looks like the max bandwidth of ftp is somehow 350 Kb/s. Is this normaland if so can it be increased ? ?? it must be your bandwidth limit, there's nothing about a 350 kb/s limit anywhere. please, read carefulle the ftp manpage. As there are some information missing, I look into my crystal ball and see that Jean-Frangois is downloading with help of the ftp program via DSL which is either 6Mbit or faster. Due to the latency of the DSL line the standard settings for net.inet.tcp.recvspace (see sysctl) are not correct for this kind of setup. He should try to increase it, for me 65536 works on 6Mbit DSL. 65535 works better in the presence of certain broken network equipment (because it avoids bumping wscale).
ftp limits bandwidth
Hi all, It looks like the max bandwidth of ftp is somehow 350 Kb/s. Is this normaland if so can it be increased ? Thx Bye.
Re: ftp limits bandwidth
Jean-Frangois SIMON escribis: Hi all, It looks like the max bandwidth of ftp is somehow 350 Kb/s. Is this normaland if so can it be increased ? Thx Bye. ?? it must be your bandwidth limit, there's nothing about a 350 kb/s limit anywhere. please, read carefulle the ftp manpage.
Re: ftp limits bandwidth
Jesus Sanchez schrieb: Jean-Frangois SIMON escribis: Hi all, It looks like the max bandwidth of ftp is somehow 350 Kb/s. Is this normaland if so can it be increased ? ?? it must be your bandwidth limit, there's nothing about a 350 kb/s limit anywhere. please, read carefulle the ftp manpage. As there are some information missing, I look into my crystal ball and see that Jean-Frangois is downloading with help of the ftp program via DSL which is either 6Mbit or faster. Due to the latency of the DSL line the standard settings for net.inet.tcp.recvspace (see sysctl) are not correct for this kind of setup. He should try to increase it, for me 65536 works on 6Mbit DSL. Please tell me in case this is all wrong so that I can order a new crystal ball! Enough guessing, HTH Markus
Re: ftp limits bandwidth
On Saturday, June 20, 2009, Jean-Frangois SIMON jfsimon1...@gmail.com wrote: Hi all, It looks like the max bandwidth of ftp is somehow 350 Kb/s. Is this normaland if so can it be increased ? Thx Bye. I don't think FTP is rate limited by default. Wild guess is you need to google tcp window size. What does ping say the round trip time is? Or you could be limited upstream, what is the topology of the network connecting the end points? -N
Re: ftp limits bandwidth
Hi, I forgot to tell you more sure, however the crystal ball worked very well. It's a 12M ADSL that works at approximately 1300 ko/s at max speed. When downloading with a browser a client such as filezilla it works at full speed but when I type ftp and use OBSD's one it is rather 350/380 max never more. Actually if anything would limit the bandwith the other client would be so. That's stange, I changed sysctl inet.tcp recv/send to 65536 but it's still same transfer speed. I use it on ftps that are rather fast so it looks like ftp is somewhere limited in my configuration. Regards, JF 2009/6/20 Marcos Laufer mar...@ipv4networks.com This is a very interesting subject. Is there any official paper describing how to tune TCP on OpenBSD? Googling i found this two interesting links, but none specifically mentions OpenBSD: Enabling high performance data transfers http://www.psc.edu/networking/projects/tcptune/ TCP tuning cookbook http://proj.sunet.se/E2E/tcptune.html This other paper is about OpenBSD, but i do not know how accurate is it: Network and speed performance guide (OpenBSD) https://calomel.org/network_performance.html Opinions? Marcos Markus Hennecke escribis: Jesus Sanchez schrieb: Jean-Frangois SIMON escribis: Hi all, It looks like the max bandwidth of ftp is somehow 350 Kb/s. Is this normaland if so can it be increased ? ?? it must be your bandwidth limit, there's nothing about a 350 kb/s limit anywhere. please, read carefulle the ftp manpage. As there are some information missing, I look into my crystal ball and see that Jean-Frangois is downloading with help of the ftp program via DSL which is either 6Mbit or faster. Due to the latency of the DSL line the standard settings for net.inet.tcp.recvspace (see sysctl) are not correct for this kind of setup. He should try to increase it, for me 65536 works on 6Mbit DSL. Please tell me in case this is all wrong so that I can order a new crystal ball! Enough guessing, HTH Markus
Re: ftp limits bandwidth
This is a very interesting subject. Is there any official paper describing how to tune TCP on OpenBSD? Googling i found this two interesting links, but none specifically mentions OpenBSD: Enabling high performance data transfers http://www.psc.edu/networking/projects/tcptune/ TCP tuning cookbook http://proj.sunet.se/E2E/tcptune.html This other paper is about OpenBSD, but i do not know how accurate is it: Network and speed performance guide (OpenBSD) https://calomel.org/network_performance.html Opinions? Marcos Markus Hennecke escribis: Jesus Sanchez schrieb: Jean-Frangois SIMON escribis: Hi all, It looks like the max bandwidth of ftp is somehow 350 Kb/s. Is this normaland if so can it be increased ? ?? it must be your bandwidth limit, there's nothing about a 350 kb/s limit anywhere. please, read carefulle the ftp manpage. As there are some information missing, I look into my crystal ball and see that Jean-Frangois is downloading with help of the ftp program via DSL which is either 6Mbit or faster. Due to the latency of the DSL line the standard settings for net.inet.tcp.recvspace (see sysctl) are not correct for this kind of setup. He should try to increase it, for me 65536 works on 6Mbit DSL. Please tell me in case this is all wrong so that I can order a new crystal ball! Enough guessing, HTH Markus