ZFS - abysmal performance with samba since upgrade to 8.2-RELEASE

Damien Fleuriot ml at my.gd
Thu Feb 24 08:03:32 UTC 2011


On 2/24/11 8:55 AM, Jeremy Chadwick wrote:
> On Thu, Feb 24, 2011 at 08:30:17AM +0100, Damien Fleuriot wrote:
>> Hello list,
>>
>> I've recently upgraded my home box from 8.2-PRE to 8.2-RELEASE and since
>> then I've been experiencing *abysmal* performance with samba.
>>
>> We're talking transfer rates of say 50kbytes/s here, and I'm the only
>> client on the box.
> 
> I have a similar system with significantly less disks (two pools, one
> disk each; yes, no redundancy).  The system can push, via SMB/CIFS
> across the network about 65-70MBytes/sec, and 80-90MByte/sec via FTP.
> I'll share with you my tunings for Samba, ZFS, and the system.  I spent
> quite some time messing with different values in Samba and FreeBSD to
> find out what got me the "best" performance without destroying the
> system horribly.
> 
> Please note the amount of memory matters greatly here, so don't go
> blindly setting these if your system has some absurdly small amount of
> physical RAM installed.
> 
> Before getting into what my system has, I also want to make clear that
> there have been cases in the past where people were seeing abysmal
> performance from ZFS, only to find out it was a *single disk* in their
> pool which was causing all of the problems (meaning a single disk was
> performing horribly, impacting everything).  I can try to find the
> mailing list post, but I believe the user offlined the disk (and later
> replaced it) and everything was fast again.  Just a FYI.
> 
> 

[SNIP]

> Good luck.
> 



It is fun because when I wrote my original email, I thought about both
you and mm@


Thanks a lot for your very detailed response, I will try these out and
post feedback :)


More information about the freebsd-stable mailing list