FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter

2008-08-31 Thread David Polak
I recently leased a godaddy.com dedicated server, and while they didn't
offer freebsd as an option,  I used the fine guide at
http://www.freebsd.org/doc/en/articles/remote-install/ to get freebsd
installed. I noticed that the installation was taking a long time with ftp
as the source media, but I had thought that maybe I just picked a bad
mirror.

 

After the install was complete, and I started to install some ports, I was
still seeing really slow download speeds. I then decided to see if something
was wrong with the system by downloading the same image from the same source
that I downloaded on linux in order to bootstrap freebsd and the speed
difference was appaling. It had downloaded at 10.29 MB/s. Once freebsd was
installed, It will only go at 60KB/s..

 

I have tried messing with the options mentioned here:

 

http://spatula.net/blog/2007/04/freebsd-network-performance-tuning.html

 

but that provided no results.

 

 

Here is some info about my setup:

dmesg and the output from sysctl net.inet are attached as files

 

 

fsserver# netstat -I sk0

NameMtu Network   Address  Ipkts IerrsOpkts Oerrs
Coll

sk01500 Link#3  00:30:1b:44:4d:4d16318 013163 0
0

sk01500 72.167.50.0   ip-72-167-50-116.15896 -13161 -
-

 

fsserver# vmstat -i

interrupt  total   rate

irq18: fwohci0+2  0

irq19: skc0 uhci1+ 51928 46

cpu0: timer  2138741   1921

cpu1: timer  2128730   1912

Total4319401   3880

 

%netstat -I sk0

NameMtu Network   Address  Ipkts IerrsOpkts Oerrs
Coll

sk01500 Link#3  00:30:1b:44:4d:4d32321 025510 0
0

sk01500 72.167.50.0   ip-72-167-50-116.30854 -25508 -
-

 

any help is greatly appreciated, let me know if there is any more info that
I have forgotten to include that might be needed.

 

 



dmesg.boot
Description: Binary data


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

FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter

2008-08-31 Thread David Polak
I recently leased a godaddy.com dedicated server, and while they didn't
offer freebsd as an option,  I used the fine guide at
http://www.freebsd.org/doc/en/articles/remote-install/ to get freebsd
installed. I noticed that the installation was taking a long time with ftp
as the source media, but I had thought that maybe I just picked a bad
mirror.

 

After the install was complete, and I started to install some ports, I was
still seeing really slow download speeds. I then decided to see if something
was wrong with the system by downloading the same image from the same source
that I downloaded on linux in order to bootstrap freebsd and the speed
difference was appaling. It had downloaded at 10.29 MB/s. Once freebsd was
installed, It will only go at 60KB/s..

 

I have tried messing with the options mentioned here:

 

http://spatula.net/blog/2007/04/freebsd-network-performance-tuning.html

 

but that provided no results.

 

 

Here is some info about my setup:

dmesg and the output from sysctl net.inet are attached as files

 

 

fsserver# netstat -I sk0

NameMtu Network   Address  Ipkts IerrsOpkts Oerrs
Coll

sk01500 Link#3  00:30:1b:44:4d:4d16318 013163 0
0

sk01500 72.167.50.0   ip-72-167-50-116.15896 -13161 -
-

 

fsserver# vmstat -i

interrupt  total   rate

irq18: fwohci0+2  0

irq19: skc0 uhci1+ 51928 46

cpu0: timer  2138741   1921

cpu1: timer  2128730   1912

Total4319401   3880

 

%netstat -I sk0

NameMtu Network   Address  Ipkts IerrsOpkts Oerrs
Coll

sk01500 Link#3  00:30:1b:44:4d:4d32321 025510 0
0

sk01500 72.167.50.0   ip-72-167-50-116.30854 -25508 -
-

 

any help is greatly appreciated, let me know if there is any more info that
I have forgotten to include that might be needed.

 



dmesg.boot
Description: Binary data


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

Re: FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter

2008-08-31 Thread Wojciech Puchar

still seeing really slow download speeds. I then decided to see if something
was wrong with the system by downloading the same image from the same source
that I downloaded on linux in order to bootstrap freebsd and the speed
difference was appaling. It had downloaded at 10.29 MB/s. Once freebsd was
installed, It will only go at 60KB/s..




looks like problems with speed/duplex autoconfiguration with the switch, 
or bad support for PHY in FreeBSD.


what you describe is quite common case when one side gets configured for 
full duplex, other for half duplex.


as it works for linux, maybe PHY support in FreeBSD is buggy.

try setting up speed and duplex options manually
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter

2008-08-31 Thread David Polak


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Wojciech Puchar
 Sent: Sunday, August 31, 2008 11:21 AM
 To: David Polak
 Cc: freebsd-questions@freebsd.org
 Subject: Re: FreeBSD 7.0-RELEASE getting terrible throughput using sk0
 adapter
 
  still seeing really slow download speeds. I then decided to see if
 something
  was wrong with the system by downloading the same image from the same
 source
  that I downloaded on linux in order to bootstrap freebsd and the
 speed
  difference was appaling. It had downloaded at 10.29 MB/s. Once
 freebsd was
  installed, It will only go at 60KB/s..
 
 
 
 looks like problems with speed/duplex autoconfiguration with the
 switch,
 or bad support for PHY in FreeBSD.
 
 what you describe is quite common case when one side gets configured
 for
 full duplex, other for half duplex.
 
 as it works for linux, maybe PHY support in FreeBSD is buggy.
 
 try setting up speed and duplex options manually

I have set the duplex to full-duplex and it has increased the speed to about
200kb/s on the same file.

As far as phy support, I guess I really don't know, but the drivers for the
chipset have been around for a while. 

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


RE: FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter

2008-08-31 Thread Michael Powell
David Polak wrote:

[snip]
 
 try setting up speed and duplex options manually
 
 I have set the duplex to full-duplex and it has increased the speed to
 about 200kb/s on the same file.
 
 As far as phy support, I guess I really don't know, but the drivers for
 the chipset have been around for a while.
 

Try disabling usb and firewire in BIOS. You may need to have a tech there do
it for you. Your box has the sk NIC and usb sharing an irq. The NIC driver
is MPSAFE but the usb stack is still under the GIANT lock. Disable usb and
the NIC driver should perform better.


-Mike


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


Re: FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter

2008-08-31 Thread perryh
 Try disabling usb and firewire in BIOS. You may need to have
 a tech there do it for you. Your box has the sk NIC and usb
 sharing an irq. The NIC driver is MPSAFE but the usb stack is
 still under the GIANT lock. Disable usb and the NIC driver
 should perform better.

Alternatively, to avoid involving the provider's tech support,
could the OP get the same effect by building a kernel without USB?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter

2008-08-31 Thread David Polak
  Try disabling usb and firewire in BIOS. You may need to have
  a tech there do it for you. Your box has the sk NIC and usb
  sharing an irq. The NIC driver is MPSAFE but the usb stack is
  still under the GIANT lock. Disable usb and the NIC driver
  should perform better.
 
 Alternatively, to avoid involving the provider's tech support,
 could the OP get the same effect by building a kernel without USB?

From server support live chat:

Steven H. - Server Support: Submit a trouble ticket and we will 
look into it further. I'm pretty sure they will not disable usb 
since the DC technicians need to boot from USB in some cases.

So is there any other way to verify that this is indeed the problem? Perhaps
as Perry suggested, building a kernel without usb/firewire, or possibly
setting the irq manually so it's not shared?

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