Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2016 08:55:11 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-fs@freebsd.org
Subject:   Re: ZFS ARC under memory pressure
Message-ID:  <73545a4b-fafc-f623-a8f5-cfcd3d8a2bd7@denninger.net>
In-Reply-To: <20160821082842.GR83214@kib.kiev.ua>
References:  <20160816193416.GM8192@zxy.spb.ru> <8dbf2a3a-da64-f7f8-5463-bfa23462446e@FreeBSD.org> <20160818202657.GS8192@zxy.spb.ru> <c3bc6c5a-961c-e3a4-2302-f0f7417bc34f@denninger.net> <20160819201840.GA12519@zxy.spb.ru> <bcb14d0b-bd6d-cb93-ea71-3656cfce8b3b@denninger.net> <20160820152225.GP83214@kib.kiev.ua> <97f166f0-4d47-d5a3-ecb3-d15f1ecf9c1f@denninger.net> <20160821082842.GR83214@kib.kiev.ua>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 8/21/2016 03:28, Konstantin Belousov wrote:
> On Sat, Aug 20, 2016 at 11:08:44AM -0500, Karl Denninger wrote:
>> If you are talking about the case of an executable in which part of the
>> text is evicted you are correct, however, you are still choosing in that
>> instance to evict a page for which there will likely be a future demand
>> and thus require an I/O (should that executable come back up for
>> execution) as opposed to one for which you have no idea how likely
>> demand for same will be (a data page in the ARC.)
> No, I am not talking about only text segments.
> Any clean page can be reused after unmapping.
And this accounts for pages being evicted to the swap..... how? 
(Obviously they're not simply unmapped, and thus were not "clean" when
targeted by the VM)
>> Since the VM has no means of "coloring" the ARC (as it is opaque other
>> than the consumption of system memory to the VM) as to how "useful"
>> (e.g. how often used, etc) a particular data item in the ARC is, it has
>> no information available on which to decide.  However, the fact that an
>> executing process is in some sort of waiting state still likely trumps
>> an ARC data page in terms of likelihood of future access.
> Buffer cache behaves exactly the same, since access references are not
> counted for the pages constituing buffers.
It is always amusing when I am told how things are supposed to occur
(and thus assumptions that were made when writing code) when I have
spent countless hours observing how they actually do behave and writing
code to mitigate the very behavior that is claimed to not happen.

I should have something for 11-MostlyStable on the original PR's thread
in a couple of weeks, assuming I manage to complete what I'm working on
right now on-schedule.

-- 
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

[-- Attachment #2 --]
0	*H
010
	`He0	*H
_0[0C)0
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA0
150421022159Z
200419022159Z0Z10	UUS10UFlorida10U
Cuda Systems LLC10UKarl Denninger (OCSP)0"0
	*H
0
X@vkY
Tq/vE]5#֯MX\8LJ/V?5Da+
sJc*/r{ȼnS+w")ąZ^DtdCOZ ~7Q '@a#ijc۴oZdB&!Ӝ-<	?HN5y
5}F|ef゘"Vلio74zn">a1qWuɖbFeGE&3(KhixG3!#e_XƬϜ/,$+;4y'Bz<qT9_?rRUpn5
Jn&Rx/p Jyel*pN8/#9u/YPEC)TY>~/˘N[vyiDKˉ,^" ?$T8v&K%z8C @?K{9f`+@,|Mbia007++0)0'+0http://cudasystems.net:88880	U00	`HB0U0,	`HB
OpenSSL Generated Certificate0U-h\Ff Y0U#0$q}ݽʒm50U0karl@denninger.net0
	*H
Owbabɺx&Uk[(Oj!%pMQ0I!#QH}.>~2&D}<wm_>V6v]f>=Nn+8;q wfΰ/RLyUG#b}n!Dր_up|_ǰc/%ۥ
nN8:d;-UJd/m1~VނיnN I˾$tF1&}|?q?\đXԑ&\4V<lKۮ3%Am_(q-(cAeGX)f}-˥6cv~Kg8m~v;|9:-iAPқ6ېn-.)<[$KJtt/L4ᖣ^Cmu4vb{+BG$M0c\[MR|0FԸP&78"4p#}DZ9;V9#>Sw"[UP7100010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0
	`HeM0	*H
	1	*H
0	*H
	1
160821135511Z0O	*H
	1B@>t5}mqċ
u
I7r$8Q5hVqnMㄏB0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0*H
	1010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0
	*H
c#y5QDji<pګVyCC4rZ/0w.PWe[?
ـ|E7'4PRԟ];O5KnNdk"W<~JX5
Ħ!Sy8!X~̱V'-Nƍb84S>.9Ѝd_.諀񼲖})``abqY]WC̳XnAջ8+鯭BXV\߂"m[UG
~u.C#&v .޷٭l9nS
Ko𸡣DvD}zR;cqU/&]&ʰLDW^'$ǯ8xt
"l-z|,,Tz
/~6&%/-ߋ<!b,n~"pTc!ɼ~,,dnb߭QFZp4TͤK}3(fJCPYCM
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73545a4b-fafc-f623-a8f5-cfcd3d8a2bd7>