FreeBSD and newer HDD problems ?

2006-06-04 Thread Pavel Duda

Hello,
I've recently bought new big HDD (WDC RE, 320GB) and it looks like 
FreeBSD has some troubles with it when trying to transfer files over 
network.


If I try to perform some synthetic test like 'dd if=/dev/zero 
of=/wdc320/testfile' then I get some decent speeds about 40MB/s. When I 
try to copy some big files from my older disk (IBM 40GB) I still have 
write about 25-27MB/s.


Problem comes when I try to copy something to disk over network (tried 
samba, ftp) disk write speed is very low - about 5-6MB/s at max.
When testing this issue I've start 'systat -vmstat 1' and noticed that 
my new disk is very busy (60-100%) and speed (MB/s) jumps up and down. 
If I write files with 'dd' or transfer them from disk 2 disk then write 
speed and disk load is almost constant (about 60%). When transfering 
files over network to old HDD then disk load is low (40-50%) and speed 
is constant (8-9MB/s).


To be sure that disk it is not some kind of disk problem I've installed 
Debian 3.1r2 with same version of samba and I get 9-11MB/s transfer 
speeds (in both directions) !!


Also it doesn't matter if I use transfer data over gigabit card or 
100mbit card. Results are similar. FreeBSD is in avarage very very slow 
(3MB) while Debian works fine (10MB). Because my server is primarily 
used for transfer files (Samba + PDC) it is crucial for me to have 
highest transfer speeds possible and I'd like to stick with FreeBSD :-/.


Does someone has any idea what could be wrong or how could I determine 
what causes this problem ?


Thanks for any advice.
Pavel

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


Re: FreeBSD and newer HDD problems ?

2006-06-04 Thread Pavel Duda

Pavel Duda wrote:

Hello,
I've recently bought new big HDD (WDC RE, 320GB) and it looks like 
FreeBSD has some troubles with it when trying to transfer files over 
network.


If I try to perform some synthetic test like 'dd if=/dev/zero 
of=/wdc320/testfile' then I get some decent speeds about 40MB/s. When I 
try to copy some big files from my older disk (IBM 40GB) I still have 
write about 25-27MB/s.


Problem comes when I try to copy something to disk over network (tried 
samba, ftp) disk write speed is very low - about 5-6MB/s at max.
When testing this issue I've start 'systat -vmstat 1' and noticed that 
my new disk is very busy (60-100%) and speed (MB/s) jumps up and down. 
If I write files with 'dd' or transfer them from disk 2 disk then write 
speed and disk load is almost constant (about 60%). When transfering 
files over network to old HDD then disk load is low (40-50%) and speed 
is constant (8-9MB/s).


To be sure that disk it is not some kind of disk problem I've installed 
Debian 3.1r2 with same version of samba and I get 9-11MB/s transfer 
speeds (in both directions) !!


Also it doesn't matter if I use transfer data over gigabit card or 
100mbit card. Results are similar. FreeBSD is in avarage very very slow 
(3MB) while Debian works fine (10MB). Because my server is primarily 
used for transfer files (Samba + PDC) it is crucial for me to have 
highest transfer speeds possible and I'd like to stick with FreeBSD :-/.


Does someone has any idea what could be wrong or how could I determine 
what causes this problem ?


Thanks for any advice.
Pavel

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




I've forgot to add that system is FreeBSD 6.0 (no custom kernel), P4 
1.8GHz, 384MB RAM, Realtek gigabit NIC (8169), Intel EE NIC 10/100mbit.



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


Re: FreeBSD and newer HDD problems ?

2006-06-04 Thread Mikhail Goriachev
Pavel Duda wrote:
 Hello,
 I've recently bought new big HDD (WDC RE, 320GB) and it looks like
 FreeBSD has some troubles with it when trying to transfer files over
 network.
 
 If I try to perform some synthetic test like 'dd if=/dev/zero
 of=/wdc320/testfile' then I get some decent speeds about 40MB/s. When I
 try to copy some big files from my older disk (IBM 40GB) I still have
 write about 25-27MB/s.
 
 Problem comes when I try to copy something to disk over network (tried
 samba, ftp) disk write speed is very low - about 5-6MB/s at max.
 When testing this issue I've start 'systat -vmstat 1' and noticed that
 my new disk is very busy (60-100%) and speed (MB/s) jumps up and down.
 If I write files with 'dd' or transfer them from disk 2 disk then write
 speed and disk load is almost constant (about 60%). When transfering
 files over network to old HDD then disk load is low (40-50%) and speed
 is constant (8-9MB/s).
 
 To be sure that disk it is not some kind of disk problem I've installed
 Debian 3.1r2 with same version of samba and I get 9-11MB/s transfer
 speeds (in both directions) !!
 
 Also it doesn't matter if I use transfer data over gigabit card or
 100mbit card. Results are similar. FreeBSD is in avarage very very slow
 (3MB) while Debian works fine (10MB). Because my server is primarily
 used for transfer files (Samba + PDC) it is crucial for me to have
 highest transfer speeds possible and I'd like to stick with FreeBSD :-/.
 
 Does someone has any idea what could be wrong or how could I determine
 what causes this problem ?
 

Hi,

This effect is normal since you're transferring files over relatively
slow network. The speed through 100Mb/s Ethernet will be around 5 or
6MB/s and probably you can't go any faster due to your hardware
limitations (switch, cables, processor, controllers and especially their
drivers).

Currently there are a few active threads related to similar issues
(controllers and their drivers). You might be interested in following them:

http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123577.html
http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123588.html
http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123673.html


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and newer HDD problems ?

2006-06-04 Thread Pavel Duda

Mikhail Goriachev wrote:

Pavel Duda wrote:


Hello,
I've recently bought new big HDD (WDC RE, 320GB) and it looks like
FreeBSD has some troubles with it when trying to transfer files over
network.

If I try to perform some synthetic test like 'dd if=/dev/zero
of=/wdc320/testfile' then I get some decent speeds about 40MB/s. When I
try to copy some big files from my older disk (IBM 40GB) I still have
write about 25-27MB/s.

Problem comes when I try to copy something to disk over network (tried
samba, ftp) disk write speed is very low - about 5-6MB/s at max.
When testing this issue I've start 'systat -vmstat 1' and noticed that
my new disk is very busy (60-100%) and speed (MB/s) jumps up and down.
If I write files with 'dd' or transfer them from disk 2 disk then write
speed and disk load is almost constant (about 60%). When transfering
files over network to old HDD then disk load is low (40-50%) and speed
is constant (8-9MB/s).

To be sure that disk it is not some kind of disk problem I've installed
Debian 3.1r2 with same version of samba and I get 9-11MB/s transfer
speeds (in both directions) !!

Also it doesn't matter if I use transfer data over gigabit card or
100mbit card. Results are similar. FreeBSD is in avarage very very slow
(3MB) while Debian works fine (10MB). Because my server is primarily
used for transfer files (Samba + PDC) it is crucial for me to have
highest transfer speeds possible and I'd like to stick with FreeBSD :-/.

Does someone has any idea what could be wrong or how could I determine
what causes this problem ?




Hi,

This effect is normal since you're transferring files over relatively
slow network. The speed through 100Mb/s Ethernet will be around 5 or
6MB/s and probably you can't go any faster due to your hardware
limitations (switch, cables, processor, controllers and especially their
drivers).

Currently there are a few active threads related to similar issues
(controllers and their drivers). You might be interested in following them:

http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123577.html
http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123588.html
http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123673.html


Cheers,
Mikhail.



Hmmm so how you explain that with Debian system on SAME machine I'm ABLE 
to get transfer speeds about 10MB/s ?? Or do you mean I can't go faster 
with FreeBSD and only solution is switch to Linux ??


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


Re: FreeBSD and newer HDD problems ?

2006-06-04 Thread Mikhail Goriachev
Pavel Duda wrote:

 Currently there are a few active threads related to similar issues
 (controllers and their drivers). You might be interested in following
 them:

 http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123577.html

 http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123588.html

 http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123673.html



 Cheers,
 Mikhail.

 
 Hmmm so how you explain that with Debian system on SAME machine I'm ABLE
 to get transfer speeds about 10MB/s ?? Or do you mean I can't go faster
 with FreeBSD and only solution is switch to Linux ??


I'd blame drivers. The other question I won't answer, but you might find
  explanation by following the threads I gave you. Apparently, there are
some issues with some controllers and their drivers.


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and newer HDD problems ?

2006-06-04 Thread Nikolas Britton

On 6/4/06, Pavel Duda [EMAIL PROTECTED] wrote:



I've forgot to add that system is FreeBSD 6.0 (no custom kernel), P4
1.8GHz, 384MB RAM, Realtek gigabit NIC (8169), Intel EE NIC 10/100mbit.



What SATA controller are you using?, and have you tried this with
FreeBSD 6.1? if not you should.


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


Re: FreeBSD and newer HDD problems ?

2006-06-04 Thread Pavel Duda

Nikolas Britton wrote:

On 6/4/06, Pavel Duda [EMAIL PROTECTED] wrote:



I've forgot to add that system is FreeBSD 6.0 (no custom kernel), P4
1.8GHz, 384MB RAM, Realtek gigabit NIC (8169), Intel EE NIC 10/100mbit.



What SATA controller are you using?, and have you tried this with
FreeBSD 6.1? if not you should.




It is PATA controller on i845 mobo so it is quite old. It works in 
UDMA100 mode. Next week I will probably try to hook it to ATA UDMA133 
PCI card to see if there is some difference.


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