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]