Comments (6)
From my point of view it can be closed. Thank you!
But can you share a link to the systemd PR here?
from systemd-swap.
First thing, you should always use only one zram device since there's no performance improvement from having multiple (this should be documented). Secondly I'd recommend systemd/zram-generator if you only use zram (should also be documented).
I'll keep this issue in mind, but don't expect any patches soon.
from systemd-swap.
First thing, you should always use only one zram device since there's no performance improvement from having multiple (this should be documented).
That is interesting because the default behavior is actually that it creates ${NCPU} zram devices. I just tested it by commenting the zram_count in the config file. Shouldnt the default then be just one zram device?
And it does not explain where the dependency to dbus-broker is coming from: 49 s without dbus-broker compared to 4 s with dbus-broker is a big difference.
from systemd-swap.
Please read this:
https://www.kernel.org/doc/html/latest/admin-guide/blockdev/zram.html#set-max-number-of-compression-streams
Since we have multiple streams per zram device - there is no use to have multiple zram devices.
An exception might be with multiple NUMA devices? Although - I don't know if the kernel takes this into account.
from systemd-swap.
The referenced systemd issue got resolved, bug was identified as something missed during 2016 commit. PR was merged recently for upcoming v251 release of systemd.
dbus-broker
avoided the issue as it doesn't try to do some logic that dbus-daemon
was doing (which IIRC was timing out from a deadlock or something like that), dbus-daemon
also queues messages differently I think, so your experience with multiple devices vs single was likely related to behaviour with that?
Should be safe to close issue? (unless you want to wait for v251 release and broader availability)
from systemd-swap.
can you share a link to the systemd PR here?
from systemd-swap.
Related Issues (20)
- Parse error HOT 1
- Suggestion: update zram algo list in default config HOT 7
- TypeError HOT 1
- systemd-swap fails after install. HOT 11
- daemon notify TypeError on armbian HOT 2
- Inproper configurations can cause infinite loop
- swapfc_priority reaching negative values on long running systems
- Chrome-based browsers do not use swap HOT 1
- subprocess.CalledProcessError: Command '['systemctl', 'start', 'var-lib-systemd\x2dswap-swapfc-x.swap']' returned non-zero exit status 1. HOT 12
- systemd-swap fails to start as service (exit code 203) HOT 3
- Recommendation for Swapfc defaults
- ModuleNotFoundError: No module named 'systemd'
- FileNotFoundError /run/systemd/system/var-lib-systemd\\x2dswap-swapfc-1.swap HOT 1
- Failed deactivating swap at shutdown HOT 1
- subprocess.CalledProcessError: Command '['mkswap', '-L', 'SWAP_f2fs_1', '/var/lib/systemd-swap/swapfc/1']' returned non-zero exit HOT 1
- Cannot Create SwapFC on non-root Drive HOT 2
- Systemd-swap doesn't handle swap_fc path already existing on btrfs HOT 1
- ERRO: swapfc_path is located on an unknown filesystem
- Swapfc path in another partition(? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from systemd-swap.