-
Notifications
You must be signed in to change notification settings - Fork 50
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
RFE: default settings for all zram devices #113
Comments
Not too much related to the issue itself, but I'm curious…
What's the reason for this? |
I think they're referring to old versions of Zram that didn't do multi core (fixad as of |
I'm talking about the structure of |
Sure, but beside the RFE (which I find rather superfluous, seeing as |
What Sorry mobile formatting made everything illegible |
Works until you have to update something and you have 1 or 2 devices with a different configuration, then you have to copy those different configs away, generate a new file file and repatch it
Parallelism |
Is this, like, measurable? I don't really believe you're gonna get more/better/faster processing by doing smaller batches. |
From the kernel docs quoted by @vilgotf:
|
To summarize: the original motivation was apparently to have multiple devices to allow parallellization, which actually is implemented internally in the kernel. Nevertheless, the approach to have default settings could be useful to some extent, e.g. for mount points. But I would like to see some actual use case before adding new functionality. |
I hijack this issue with a related thing. I'm quite lazy and stupid, so I just copied It might be wise to specify some different |
This doesn't require hacking the mount unit, at least (and /var/tmp must be persistent across boots) Ref: #113
This is a very good point (and /var/tmp is (supposed to be :v) guaranteed-persistent across boots). I've updated the README to point at |
Having to specify a
[zramN]
section for each CPU core can extremely redundant on machines with many cores. Would it be possible to add a[default]
section, to set the configuration of all devices, unless it's specifically overridden by the section of the single device?The text was updated successfully, but these errors were encountered: