Coder Social home page Coder Social logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
> Also VMalloc is much larger than normal (even after rmmod compcache and tlsf):

> VmallocTotal:   770040 kB
> VmallocUsed:      5164 kB
> VmallocChunk:   737848 kB

This is normal. It shows that vmalloc area total size is ~770M (normal) out of 
wich
only ~5M is used. 'VmallocChunk' shows largest contiguous virtual memory area
available (if I understand correctly).


> I notice that machine becomes very slow, even if I remove compcache.
I think this is the explanation for this:

- Compcache compresses only swap cache pages and hence space for page cache
(filesystem backed) pages reduces. So, if application working set from page 
cache
pages is greater than (TotalMem - compcacheUsedMem) then system begins to 
thrash. I
have observed this behaviour on my system also -- particulary when I set 
compcache to
a big ratio caompared with TotalRAM (say >65%).

- When you disable compcache, all those pages are decompressed which is beyond 
what
RAM can handle (thats why they were compressed in first place!). Now:
   * If swap hdisk is present, they are now again swapped to now slow hdisk
system. If these pages are part some applications working set then it causes 
system
thrashing.
   * For swapless system, these additional pages will force page-cache pages to be
reclaimed/flushed and system again thrashes.

So, if you observe slow down of system for your particular workload so can try 
these:
- Temporarily increase swappiness to, say 80 (echo 80 > /proc/sys/vm/swappiness)
- Try using smaller compcache (say 40% of RAM).

If your system still thrashes ot you get oom-kills, then your memory required 
are
just too much for even compression business to handle!



Original comment by [email protected] on 6 Mar 2008 at 9:29

from compcache.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
comment #1 gives reason for this issue.

Original comment by [email protected] on 8 Mar 2008 at 11:42

  • Changed state: WontFix

from compcache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.