Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using log2ram for other ramdisk purposes? #210

Open
jult opened this issue Jul 23, 2023 · 1 comment
Open

Using log2ram for other ramdisk purposes? #210

jult opened this issue Jul 23, 2023 · 1 comment

Comments

@jult
Copy link

jult commented Jul 23, 2023

Not just logs I mean. I'm slowly expanding its usage to swap more storage into RAM using log2ram. Just wanted to know:
Are there any limits to this tool? What is the maximum I can let log2ram store in RAM ?
This seems to be the only functional tool that actually does what it says on the tin. It swaps to disk for assurance at set intervals, it stores entire folders in RAM and it actually creates proper linkage to/from those files.

By the way, it looks like linux file-caching has a long way to go. It really does not do what it should do. I still have about 18 Gigs of unused RAM, and whatever I do, it's not being used by linux, it's just sitting there wasting my SSDs and HDDs away. Linux should swap everything it can to RAM for all I care, but it just fails to do so, whatever I try. The only thing actually doing this, is this tool here!

@MegaV0lt
Copy link
Contributor

You can try to test with SIZE=10G and see what is happening. As far i know the ramdisk uses only the size that is occpied by files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants