grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 3/3] disk: read into cache directly


From: Andrei Borzenkov
Subject: Re: [PATCH v2 3/3] disk: read into cache directly
Date: Wed, 2 Mar 2016 06:46:14 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

02.03.2016 03:22, Vladimir 'phcoder' Serbinenko пишет:
> Is there any way this patch reclaims unused memory in case of partial cache
> eviction?

Not yet, I wanted to make sure base looks sane first. Are there any
cases of partial eviction besides blocklist write?

> If not it could potentially water lots of memory. One thing you
> need to consider is that initrd for Solaris can easily be 60% of total RAM
> (300 MiB on 512MiB machine) What if requested read is bigger than risk
> cache size?
> 

Not sure I parse it; but yes, it puts more stress on cache by requiring
unfragmented memory. If we follow this route we need to gracefully fall
back to cache element size.

Do we have any reasonable chance to separate aligned and non-aligned
memory pools?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]