A few days ago I noticed that while playing a game my OS
is caching all the RAM
and then frantically trying to cram a new game level into the few hundred free migabytes, at this point the game is a bit slow and it's a bit annoying. So I wrote a small but very dumb solution
that just works.
In fact, I'm really surprised at how much such a dumb decision could fix the situation. I don't fully understand why this happens, so if you do, please open an issue
and help me out.
At this point ссс
is in a very early stage of development so feel free to open an issue with your problems and suggestions.
Note that this is only compatible with the
linux
kernel at this time.
From source
git clone https://github.com/ssleert/ccc.git
cd ./ccc
sudo make install
/usr/local/etc/ccc.conf
config file example
[Files]
Lock = /tmp/ccc.lock
[Log]
Silent = false
[Options]
Sync = true
[Levels] # percents
First = 15
Second = 10
Third = 5
[Timeouts] # seconds
Check = 10
[Error]
MaxAmount = 10
Before contributing, please run
make format