Re: USB 2.0 harddisk performance

2004-03-02 Thread Chuck Swiger
Guy Van Sanden wrote:
[ ...in reference to USB 2 vs Firewire performance... ]
Thanks for your answer.
You're welcome.

I was googling for this, and I found out that you need some modules:
firewire.c fwohci.c fwohci_pci.c 
Yes, although FreeBSD 4.9 should have come with the module already compiled 
and available for use.  See whether you have:

/modules/firewire.ko

...on your system, otherwise add a "device firewire" and rebuild your kernel. 
 I've used both the VIA 6306 and whatever Creative uses on the SB Audigy 
(Sony 3022? I forget)...

Will the fwohci driver provide better perfomance then the USB one?
Right now it certainly does.  I was seeing data-level throughput of ~40 MB/s 
or 320 megabits per sec, which is ~80% utilization of the maximum available 
throughput of 400 mb/s.  I don't know how much protocol-level overhead is 
involved, but there is undoubtedly some so it seems the Firewire driver works 
about as efficiently as one might wish.

[ Bravo, Kobayashi-san and Shimokawa-san... ]

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


Re: USB 2.0 harddisk performance

2004-03-02 Thread Guy Van Sanden
Hello Charles

Thanks for your answer.

I was googling for this, and I found out that you need some modules:
firewire.c fwohci.c fwohci_pci.c 

Will the fwohci driver provide better perfomance then the USB one?

On Mon, 2004-03-01 at 19:05, Charles Swiger wrote:
> On Mar 1, 2004, at 11:36 AM, Guy Van Sanden wrote:
> > Is firewire fully supported on FreeBSD?
> 
> Firewire support has been pretty good, at least for accessing mass 
> storage devices.  I haven't beaten on IP-over-Firewire or some of the 
> other capabilities that one might also experiment with
> 
> > The disk does have a firewire link, I can buy an addon card for about 
> > 30
> > ¤, but I wanna make sure that it will work better.
> 
> I was seeing about 35 MB/s read and about 20 MB/s using a Maxtor 5000DN 
> external drive via Firewire; this drive also supports USB 2, but at the 
> time I was testing OHCI USB was all that was available to me, not EHCI.
> 
> (USB 1 was giving ~1.2 MB/s...)
-- 
__  

  Guy Van Sanden 
  http://unixmafia.port5.com  

  Registered Linux user #249404 - September 1997
__

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


Re: USB 2.0 harddisk performance

2004-03-01 Thread Charles Swiger
On Mar 1, 2004, at 11:36 AM, Guy Van Sanden wrote:
Is firewire fully supported on FreeBSD?
Firewire support has been pretty good, at least for accessing mass 
storage devices.  I haven't beaten on IP-over-Firewire or some of the 
other capabilities that one might also experiment with

The disk does have a firewire link, I can buy an addon card for about 
30
€, but I wanna make sure that it will work better.
I was seeing about 35 MB/s read and about 20 MB/s using a Maxtor 5000DN 
external drive via Firewire; this drive also supports USB 2, but at the 
time I was testing OHCI USB was all that was available to me, not EHCI.

(USB 1 was giving ~1.2 MB/s...)

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


Re: USB 2.0 harddisk performance

2004-03-01 Thread Dany Nativel
add a line to your kernel config file with :
device ehci 
or options ehci... I'm not sure. Check your kernel config file, it 
should be the same as ohci! ... sorry I'm not in front of my fbsd box.

Also don't forget to enable DMA for your drives.
you can switch DMA (it should be on for HD) for CDROM/CDRW through 
/boot/loader.conf

#sysctl -a | gep dma
to see HDD status
#sysctl -a | grep atapi
to see CD status



Guy Van Sanden wrote:

Silly question Dany, how do I enable EHCI?



On Mon, 2004-03-01 at 17:11, Dany Nativel wrote:
 

Have you enabled EHCI support ?

Even with EHCI enabled the speed won't be that great. According to the 
man page, the code is still under development and therefore pretty buggy.

Maybe you'll have better luck with Firewire.

Dany

Guy Van Sanden wrote:

   

I have a USB 2.0 harddisk (internally ATA-100) connected to a USB 2.0
port.
Unfortunatly, data transfers are limited to 1 MB/second (reported by
FreeBSD on detection, and confirmed using Bonnie).
Any ideas?

I'm running 5.2.1



 

___
[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: USB 2.0 harddisk performance

2004-03-01 Thread Guy Van Sanden
Silly question Dany, how do I enable EHCI?



On Mon, 2004-03-01 at 17:11, Dany Nativel wrote:
> Have you enabled EHCI support ?
> 
> Even with EHCI enabled the speed won't be that great. According to the 
> man page, the code is still under development and therefore pretty buggy.
> 
> Maybe you'll have better luck with Firewire.
> 
> Dany
> 
> Guy Van Sanden wrote:
> 
> >I have a USB 2.0 harddisk (internally ATA-100) connected to a USB 2.0
> >port.
> >
> >Unfortunatly, data transfers are limited to 1 MB/second (reported by
> >FreeBSD on detection, and confirmed using Bonnie).
> >
> >Any ideas?
> >
> >I'm running 5.2.1
> >
> >  
> >
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
__  

  Guy Van Sanden 
  http://unixmafia.port5.com  

  Registered Linux user #249404 - September 1997
__

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


Re: USB 2.0 harddisk performance

2004-03-01 Thread Guy Van Sanden
Thanks Dany

Is firewire fully supported on FreeBSD?

The disk does have a firewire link, I can buy an addon card for about 30
¤, but I wanna make sure that it will work better.



On Mon, 2004-03-01 at 17:11, Dany Nativel wrote:
> Have you enabled EHCI support ?
> 
> Even with EHCI enabled the speed won't be that great. According to the 
> man page, the code is still under development and therefore pretty buggy.
> 
> Maybe you'll have better luck with Firewire.
> 
> Dany
> 
> Guy Van Sanden wrote:
> 
> >I have a USB 2.0 harddisk (internally ATA-100) connected to a USB 2.0
> >port.
> >
> >Unfortunatly, data transfers are limited to 1 MB/second (reported by
> >FreeBSD on detection, and confirmed using Bonnie).
> >
> >Any ideas?
> >
> >I'm running 5.2.1
> >
> >  
> >
-- 
__  

  Guy Van Sanden 
  http://unixmafia.port5.com  

  Registered Linux user #249404 - September 1997
__

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


Re: USB 2.0 harddisk performance

2004-03-01 Thread Dany Nativel
Have you enabled EHCI support ?

Even with EHCI enabled the speed won't be that great. According to the 
man page, the code is still under development and therefore pretty buggy.

Maybe you'll have better luck with Firewire.

Dany

Guy Van Sanden wrote:

I have a USB 2.0 harddisk (internally ATA-100) connected to a USB 2.0
port.
Unfortunatly, data transfers are limited to 1 MB/second (reported by
FreeBSD on detection, and confirmed using Bonnie).
Any ideas?

I'm running 5.2.1

 

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


USB 2.0 harddisk performance

2004-03-01 Thread Guy Van Sanden
I have a USB 2.0 harddisk (internally ATA-100) connected to a USB 2.0
port.

Unfortunatly, data transfers are limited to 1 MB/second (reported by
FreeBSD on detection, and confirmed using Bonnie).

Any ideas?

I'm running 5.2.1

-- 
__  

  Guy Van Sanden 
  http://unixmafia.port5.com  

  Registered Linux user #249404 - September 1997
__

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