Comments (4)
Alright, I am not surprised that you have had issues with this. First off, RPi 4 8GB does not always work correctly with zram right now. This is due to a Linux Kernel issue that is ongoing. While not a part of this project, this post on the openHAB forum has some details. For the moment there are no real good ways to enable zram on a RPi 4 8GB it may be possible but I won't try and support it as the methods used would be very hacky.
Second, it should not be necessary to put the /tmp
directory on zram please read the Performance section of the README to get more details.
I will make sure to make a note in the README so that people know that the RPi 8GB is not currently working with zram due to this issue.
from zram-config.
Alright, I am not surprised that you have had issues with this. First off, RPi 4 8GB does not always work correctly with zram right now. This is due to a Linux Kernel issue that is ongoing. While not a part of this project, this post on the openHAB forum has some details. For the moment there are no real good ways to enable zram on a RPi 4 8GB it may be possible but I won't try and support it as the methods used would be very hacky.
Aaahh, I see, I didn't even think about that, lol.
Second, it should not be necessary to put the
/tmp
directory on zram please read the Performance section of the README to get more details.
I saw this section but my /tmp is not mounted in RAM but in the root.
domy@domy-pi:~$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 117G 6.4G 106G 6% /
domy@domy-pi:~$
I will make sure to make a note in the README so that people know that the RPi 8GB is not currently working with zram due to this issue.
Thanks for your time!
Anyhow, I do have around 5 MB writes per day, it's not that urgent, I'll wait for a fix.
from zram-config.
Ahh, well then you would likely be better suited with using /etc/fstab
to mount your /tmp
directory on ram rather than zram.
from zram-config.
Actually, I've found that tmp.mount is not enabled by default, we need to copy *.mount file and enable it.
sudo cp -v /usr/share/systemd/tmp.mount /etc/systemd/system/
sudo systemctl enable tmp.mount
domy@domy-pi:~$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.9G 0 3.9G 0% /tmp
So, I will close this issue, there is nothing we can do right now.
Best regards!
from zram-config.
Related Issues (20)
- F2FS filesystem compatibility HOT 3
- missing dependencies HOT 1
- install.bash should cleanup after itself HOT 1
- OpenRC init script HOT 2
- Lots of output after sudo zram-config "stop" / "start" HOT 4
- Any way to avoid locking up zram volume when full? HOT 6
- what does exactly your software ? HOT 1
- Any way to create multiple devices per core? HOT 2
- Difference to openhabian-zram HOT 2
- Service is active, but no zrams are mounted HOT 6
- no longer works on ubuntu 21.10 (raspberry pi 4) HOT 5
- Add ability to sync files to disk periodically HOT 6
- missing dependency
- read-only zram fs IN operations ?? HOT 6
- Failing to sync on shutdown but works on demand HOT 9
- install (from openhabian) fails HOT 1
- gpg Can't check signature: No public key A2A3BF1A7D8D7AD47E939274B13E6AF0E31D89F8 HOT 2
- Allow update.bash without git fetch/pull HOT 7
- Replace fts-dev with musl-fts-dev under alpine HOT 4
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 zram-config.