RE: How do I max a 6Mbps link

2003-07-10 Thread Sten Daniel Sørsdal
 
 Hi all,
 
 What configuration changes do I need to make to two 
 freebsd-stable boxes to
 fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
 transfers.
 
 The target application is proftpd with ncftpd as the client.
 
 Thanks in advance,
 Max
 

220ms? I dont think TCP can handle this. Look for a non-connection oriented protocol
to transfer files. UDP for example, or better, raw IP.
Maybe you're lucky and get FAST to work :-)

- Sten
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do I max a 6Mbps link

2003-07-09 Thread Max Clark
Hi all,

What configuration changes do I need to make to two freebsd-stable boxes to
fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
transfers.

The target application is proftpd with ncftpd as the client.

Thanks in advance,
Max

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I max a 6Mbps link

2003-07-09 Thread Simon

Sounds like you have a problem with your server/network hardware or
firewall/proftpd settings. FreeBSD out of the box on low-end Intel hardware
can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
your harddrive on receiving end can write at least this fast and your network
is capable of such transfers. Sometimes faulty switches/cable wires can
cause packet loss/delays, causing a bottleneck. It could be a number of
things, but I would start with testing your network.

-Simon

On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:

Hi all,

What configuration changes do I need to make to two freebsd-stable boxes to
fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
transfers.

The target application is proftpd with ncftpd as the client.

Thanks in advance,
Max

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to [EMAIL PROTECTED]



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How do I max a 6Mbps link

2003-07-09 Thread Lapinski, Michael (Research)
1) 6mbps link, which is roughly 3megs/sec is inaccurate 
   6 Mbits is roughly 600kilobytes/second

2) A common way to speed up transfers is to tune your 
   tcp window sizes using /sbin/sysctl.
   The two you may wish to lok at are:
net.inet.tcp.sendspace
net.inet.tcp.recvspace
   try values like 128000 and 256000
   Doing so so on bnoth machien sshould increase your throughput.

   A good reference for all the syctl variable is available at
   http://people.freebsd.org/~adrian/sysctl.descriptions, 
   the freebsd manual may have em soemwhere but i cant recall 
   where.

-mtl

--
Michael Lapinski
Computer Scientist
GE Research


I think there is a world market for maybe five computers.
- IBM Chairman Thomas Watson, 1943


--Original Message-
-From: Simon [mailto:[EMAIL PROTECTED]
-Sent: Wednesday, July 09, 2003 1:19 PM
-To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
-Subject: Re: How do I max a 6Mbps link
-
-
-
-Sounds like you have a problem with your server/network hardware or
-firewall/proftpd settings. FreeBSD out of the box on low-end 
-Intel hardware
-can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
-your harddrive on receiving end can write at least this fast 
-and your network
-is capable of such transfers. Sometimes faulty switches/cable 
-wires can
-cause packet loss/delays, causing a bottleneck. It could be a 
-number of
-things, but I would start with testing your network.
-
--Simon
-
-On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
-
-Hi all,
-
-What configuration changes do I need to make to two 
-freebsd-stable boxes to
-fully max out a 6Mbps/220ms network link? This is for bulk 
-500+MB file
-transfers.
-
-The target application is proftpd with ncftpd as the client.
-
-Thanks in advance,
-Max
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to 
-[EMAIL PROTECTED]
-
-
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to [EMAIL PROTECTED]
-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I max a 6Mbps link

2003-07-09 Thread Thomas T. Veldhouse
The problem is probably file I/O.  I use samba for use with Windows.  I can
transfer a large file from my FreeBSD server and get almost 10MB/s (using an
Intel 10/100 card).  However, when I transfer files to FreeBSD, I only get
about 6MB/s.  I seem to get this same ratio when using FTP transfers as
well.  This leads me to believe it is I/O bound (my FreeBSD machine has a
UDMA66, mainboard limitted to UDMA33,  7200RPM drive in it running
softupdates).  BTW -- this is one area where Linux (w / reiserfs) kicks the
FreeBSD daemon all over town.

Tom Veldhouse

- Original Message -
From: Simon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 12:19 PM
Subject: Re: How do I max a 6Mbps link



 Sounds like you have a problem with your server/network hardware or
 firewall/proftpd settings. FreeBSD out of the box on low-end Intel
hardware
 can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
 your harddrive on receiving end can write at least this fast and your
network
 is capable of such transfers. Sometimes faulty switches/cable wires can
 cause packet loss/delays, causing a bottleneck. It could be a number of
 things, but I would start with testing your network.

 -Simon

 On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:

 Hi all,
 
 What configuration changes do I need to make to two freebsd-stable boxes
to
 fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
 transfers.
 
 The target application is proftpd with ncftpd as the client.
 
 Thanks in advance,
 Max
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-isp
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How do I max a 6Mbps link

2003-07-09 Thread Simon

Ops, you're absolutely right, I don't know how I got the 3megs, I'm in the middle
of getting a mortgage, if you know what I mean. Sorry for any confusion I might
have caused. I do know my bits and bytes and I was way off indeed, my mistake.

-Simon

On Wed, 9 Jul 2003 13:31:54 -0400, Lapinski, Michael (Research) wrote:

1) 6mbps link, which is roughly 3megs/sec is inaccurate 
   6 Mbits is roughly 600kilobytes/second

2) A common way to speed up transfers is to tune your 
   tcp window sizes using /sbin/sysctl.
   The two you may wish to lok at are:
   net.inet.tcp.sendspace
   net.inet.tcp.recvspace
   try values like 128000 and 256000
   Doing so so on bnoth machien sshould increase your throughput.

   A good reference for all the syctl variable is available at
   http://people.freebsd.org/~adrian/sysctl.descriptions, 
   the freebsd manual may have em soemwhere but i cant recall 
   where.

-mtl

--
Michael Lapinski
Computer Scientist
GE Research


I think there is a world market for maybe five computers.
- IBM Chairman Thomas Watson, 1943


--Original Message-
-From: Simon [mailto:[EMAIL PROTECTED]
-Sent: Wednesday, July 09, 2003 1:19 PM
-To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
-Subject: Re: How do I max a 6Mbps link
-
-
-
-Sounds like you have a problem with your server/network hardware or
-firewall/proftpd settings. FreeBSD out of the box on low-end 
-Intel hardware
-can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
-your harddrive on receiving end can write at least this fast 
-and your network
-is capable of such transfers. Sometimes faulty switches/cable 
-wires can
-cause packet loss/delays, causing a bottleneck. It could be a 
-number of
-things, but I would start with testing your network.
-
--Simon
-
-On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
-
-Hi all,
-
-What configuration changes do I need to make to two 
-freebsd-stable boxes to
-fully max out a 6Mbps/220ms network link? This is for bulk 
-500+MB file
-transfers.
-
-The target application is proftpd with ncftpd as the client.
-
-Thanks in advance,
-Max
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to 
-[EMAIL PROTECTED]
-
-
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to [EMAIL PROTECTED]
-



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I max a 6Mbps link

2003-07-09 Thread Mykroft Holmes IV


Simon wrote:

Sounds like you have a problem with your server/network hardware or
firewall/proftpd settings. FreeBSD out of the box on low-end Intel hardware
can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
your harddrive on receiving end can write at least this fast and your network
is capable of such transfers. Sometimes faulty switches/cable wires can
cause packet loss/delays, causing a bottleneck. It could be a number of
things, but I would start with testing your network.
-Simon



6Mb/s is more like 900KB/s not 3 megs/sec(Which would be 24Mbps)

Adam

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I max a 6Mbps link

2003-07-09 Thread Kevin Stevens


On Wed, 9 Jul 2003, Max Clark wrote:

 Hi all,

 What configuration changes do I need to make to two freebsd-stable boxes to
 fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
 transfers.

You need to increase the maximum TCP window size setting (not sure what
sysctl it is) to around 256KB to accommodate the bandwidth/latency
product.  In brief, 6Mb/1500B frames = 500 frames/sec.  Using 250ms for
simplicity, you need a large enough TCP window to handle 1/4 of that (125
frames x 1500 bytes/frame = 183KB, round up to 256KB) to permit continuous
streaming.  Note that TCP windows actually only go to 64KB, you need to
use TCP window scaling as a multiplier to go beyond that.  Both stations
must support it.

You can find more info on this on the web, look for
high-latency/high-bandwidth.

KeS
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How do I max a 6Mbps link

2003-07-09 Thread Dukemaster
Wrong again a 6megabit link is exactly 768kilobytes/sec


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lapinski, Michael
(Research)
Sent: Wednesday, July 09, 2003 1:32 PM
To: 'Simon'; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max
Clark
Subject: RE: How do I max a 6Mbps link


1) 6mbps link, which is roughly 3megs/sec is inaccurate 
   6 Mbits is roughly 600kilobytes/second

2) A common way to speed up transfers is to tune your 
   tcp window sizes using /sbin/sysctl.
   The two you may wish to lok at are:
net.inet.tcp.sendspace
net.inet.tcp.recvspace
   try values like 128000 and 256000
   Doing so so on bnoth machien sshould increase your throughput.

   A good reference for all the syctl variable is available at
   http://people.freebsd.org/~adrian/sysctl.descriptions, 
   the freebsd manual may have em soemwhere but i cant recall 
   where.

-mtl

--
Michael Lapinski
Computer Scientist
GE Research


I think there is a world market for maybe five computers.
- IBM Chairman Thomas Watson, 1943


--Original Message-
-From: Simon [mailto:[EMAIL PROTECTED]
-Sent: Wednesday, July 09, 2003 1:19 PM
-To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
-Subject: Re: How do I max a 6Mbps link
-
-
-
-Sounds like you have a problem with your server/network hardware or
-firewall/proftpd settings. FreeBSD out of the box on low-end 
-Intel hardware
-can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
-your harddrive on receiving end can write at least this fast 
-and your network
-is capable of such transfers. Sometimes faulty switches/cable 
-wires can
-cause packet loss/delays, causing a bottleneck. It could be a 
-number of
-things, but I would start with testing your network.
-
--Simon
-
-On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
-
-Hi all,
-
-What configuration changes do I need to make to two 
-freebsd-stable boxes to
-fully max out a 6Mbps/220ms network link? This is for bulk 
-500+MB file
-transfers.
-
-The target application is proftpd with ncftpd as the client.
-
-Thanks in advance,
-Max
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to 
-[EMAIL PROTECTED]
-
-
-
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to [EMAIL PROTECTED]
-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How do I max a 6Mbps link

2003-07-09 Thread Lapinski, Michael (Research)
I said roughly.

--
Michael Lapinski
Computer Scientist
GE Research


I think there is a world market for maybe five computers.
- IBM Chairman Thomas Watson, 1943


--Original Message-
-From: Dukemaster [mailto:[EMAIL PROTECTED]
-Sent: Wednesday, July 09, 2003 2:28 PM
-To: 'Lapinski, Michael (Research)'
-Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
-Subject: RE: How do I max a 6Mbps link
-
-
-Wrong again a 6megabit link is exactly 768kilobytes/sec
-
-
--Original Message-
-From: [EMAIL PROTECTED]
-[mailto:[EMAIL PROTECTED] On Behalf Of Lapinski, Michael
-(Research)
-Sent: Wednesday, July 09, 2003 1:32 PM
-To: 'Simon'; [EMAIL PROTECTED]; 
-[EMAIL PROTECTED]; Max
-Clark
-Subject: RE: How do I max a 6Mbps link
-
-
-1) 6mbps link, which is roughly 3megs/sec is inaccurate 
-   6 Mbits is roughly 600kilobytes/second
-
-2) A common way to speed up transfers is to tune your 
-   tcp window sizes using /sbin/sysctl.
-   The two you may wish to lok at are:
-  net.inet.tcp.sendspace
-  net.inet.tcp.recvspace
-   try values like 128000 and 256000
-   Doing so so on bnoth machien sshould increase your throughput.
-
-   A good reference for all the syctl variable is available at
-   http://people.freebsd.org/~adrian/sysctl.descriptions, 
-   the freebsd manual may have em soemwhere but i cant recall 
-   where.
-
--mtl
-
---
-Michael Lapinski
-Computer Scientist
-GE Research
-
-
-I think there is a world market for maybe five computers.
-- IBM Chairman Thomas Watson, 1943
-
-
---Original Message-
--From: Simon [mailto:[EMAIL PROTECTED]
--Sent: Wednesday, July 09, 2003 1:19 PM
--To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
-Max Clark
--Subject: Re: How do I max a 6Mbps link
--
--
--
--Sounds like you have a problem with your server/network hardware or
--firewall/proftpd settings. FreeBSD out of the box on low-end 
--Intel hardware
--can  easily sustain 6mbps link, which is roughly 3megs/sec. 
-Make sure
--your harddrive on receiving end can write at least this fast 
--and your network
--is capable of such transfers. Sometimes faulty switches/cable 
--wires can
--cause packet loss/delays, causing a bottleneck. It could be a 
--number of
--things, but I would start with testing your network.
--
---Simon
--
--On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
--
--Hi all,
--
--What configuration changes do I need to make to two 
--freebsd-stable boxes to
--fully max out a 6Mbps/220ms network link? This is for bulk 
--500+MB file
--transfers.
--
--The target application is proftpd with ncftpd as the client.
--
--Thanks in advance,
--Max
--
--___
--[EMAIL PROTECTED] mailing list
--http://lists.freebsd.org/mailman/listinfo/freebsd-isp
--To unsubscribe, send any mail to 
--[EMAIL PROTECTED]
--
--
--
--___
--[EMAIL PROTECTED] mailing list
--http://lists.freebsd.org/mailman/listinfo/freebsd-isp
--To unsubscribe, send any mail to 
-[EMAIL PROTECTED]
--
-___
-[EMAIL PROTECTED] mailing list
-http://lists.freebsd.org/mailman/listinfo/freebsd-isp
-To unsubscribe, send any mail to [EMAIL PROTECTED]
-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]