Date: Mon, 01 Nov 2010 11:39:41 +0100 From: Willem Jan Withagen <wjw@digiware.nl> To: Andriy Gapon <avg@icyb.net.ua> Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org Subject: Re: 8.1-STABLE: zfs and sendfile: problem still exists Message-ID: <4CCE98ED.6010002@digiware.nl> In-Reply-To: <4CCE6CAD.30304@icyb.net.ua> References: <4CCAF0EB.4080001@icyb.net.ua> <20101029175105.GB18613@two.kliksys.ru> <4CCBD443.7010305@icyb.net.ua><4CCBD46E.9030200@icyb.net.ua> <4CCBD661.3000204@freebsd.org><4CCBEAF6.2030408@freebsd.org> <20101030101254.GB79691@two.kliksys.ru> <4CCBF45C.4080208@icyb.net.ua> <20101030112520.GD79691@two.kliksys.ru> <4CCC2F2A.7020809@icyb.net.ua><20101030190120.GA80301@two.kliksys.ru> <4CCD0804.8010703@icyb.net.ua> <D1BBD19053C8401BB4F4839A019B61A1@vosz.local> <4CCE6CAD.30304@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-11-01 8:30, Andriy Gapon wrote: > First and foremost, the double-caching issue for ZFS+sendfile on FreeBSD is > still there and no resolution for this issue is on horizon. So, you have to > account for the fact that twice as much memory is needed for this use-case. > Whether you plan your system, or configure it, or tune it. > > Second, with recent head and stable/8 ARC should not be the primary victim of > memory pressure; ARC reclaim thread and the page daemon should cooperate in > freeing/recycling memory. > > Nothing much to add. Although this discussion started due to issues with serving files thru web-typish services, there are more apps that use sendfile. For one, I noticed that I had once enabled sendfile in my Samba config. As per this discussion I saw little advantage in keeping it that way...... But I'm open for other suggestions. --WjW
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CCE98ED.6010002>