Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 May 2021 22:15:05 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        joe mcguckin <joe@via.net>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: Faster uploads to a ZFS network filler?
Message-ID:  <CAOtMX2jVZKPw4u8CRyfV00HghEb%2B3PanL=VWQm0UgubLs7vvzQ@mail.gmail.com>
In-Reply-To: <52E8403F-2233-4C6A-8E6E-F99CBA04840E@via.net>
References:  <52E8403F-2233-4C6A-8E6E-F99CBA04840E@via.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 2, 2021 at 8:20 PM joe mcguckin <joe@via.net> wrote:

> I have a FreeBSD 12.2 system running with SAMBA. Up loading large files
> (e.g. video files) I notice the first 700-800 Mb goes pretty quickly, but
> around 800Mb, it pauses then proceeds at about half or 1/3
> normal speed.
>
> Is there a tunable parameter I can change to improve this behavoir? The
> server has plenty of memory, can I tell ZFS, SAMBA or the kernel to use
> more memory for caching?
>
> Thanks!
>
> Joe
>

By default ZFS is already very greedy with RAM.  In fact, that's probably
why you notice the speed cliff.  That first 700-800 is probably going into
RAM, and then it slows down when the server becomes limited by disk
throughput.  What does gstat show you.  Are the disks saturated?
-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2jVZKPw4u8CRyfV00HghEb%2B3PanL=VWQm0UgubLs7vvzQ>