Re: That greedy Linux VM cache

2014-02-10 Thread Michal Hocko
On Sun 09-02-14 03:42:52, Igor Podlesny wrote: > On 3 February 2014 18:55, Michal Hocko wrote: > > [Adding linux-mm to the CC] > > [...] > > > This means that the page has to be written back in order to be dropped. > > How much dirty memory you have (comparing to the total size of the page > > c

Re: That greedy Linux VM cache

2014-02-08 Thread Igor Podlesny
On 3 February 2014 18:55, Michal Hocko wrote: > [Adding linux-mm to the CC] [...] > This means that the page has to be written back in order to be dropped. > How much dirty memory you have (comparing to the total size of the page > cache)? Not too many. May be you missed that part, but I sai

Re: That greedy Linux VM cache

2014-02-03 Thread Michal Hocko
[Adding linux-mm to the CC] On Fri 31-01-14 00:58:16, Igor Podlesny wrote: >Hello! > >Probably every Linux newcomer's going to have concerns regarding > low free memory and hear an explanation from Linux old fellows that's > actually there's plenty of -- it's just cached, but when it's ne

Re: That greedy Linux VM cache

2014-01-31 Thread Henrique de Moraes Holschuh
On Fri, 31 Jan 2014, Igor Podlesny wrote: >Probably every Linux newcomer's going to have concerns regarding > low free memory and hear an explanation from Linux old fellows that's > actually there's plenty of -- it's just cached, but when it's needed > for applications it's gonna be used -- on

Re: That greedy Linux VM cache

2014-01-31 Thread Igor Podlesny
[...] On 1 February 2014 00:57, Austin S. Hemmelgarn wrote: > If I remember correctly, there is a sysctl for configuring how > aggressively the system tries to retain the VFS cache, changing the > value there might improve things for you. Yeah, in theory. On practice I never saw a difference e

Re: That greedy Linux VM cache

2014-01-31 Thread Austin S. Hemmelgarn
On 01/31/2014 09:47 AM, Igor Podlesny wrote: > On 31 January 2014 00:58, Igor Podlesny wrote: > [...] >> While I'm thinking about moving system back to XFS... > >Well, it helped just a bit. The whole picture remains, so it's not > Btrfs' issue, but seemingly Linux VM's one. The problem can

Re: That greedy Linux VM cache

2014-01-31 Thread Igor Podlesny
On 31 January 2014 00:58, Igor Podlesny wrote: [...] > While I'm thinking about moving system back to XFS... Well, it helped just a bit. The whole picture remains, so it's not Btrfs' issue, but seemingly Linux VM's one. The problem can be briefly described as "if allowed to swap (swappiness !

Re: That greedy Linux VM cache

2014-01-30 Thread David Lang
On Fri, 31 Jan 2014, Igor Podlesny wrote: Hello! Probably every Linux newcomer's going to have concerns regarding low free memory and hear an explanation from Linux old fellows that's actually there's plenty of -- it's just cached, but when it's needed for applications it's gonna be used --

That greedy Linux VM cache

2014-01-30 Thread Igor Podlesny
Hello! Probably every Linux newcomer's going to have concerns regarding low free memory and hear an explanation from Linux old fellows that's actually there's plenty of -- it's just cached, but when it's needed for applications it's gonna be used -- on demand. I also thought so until recentl