You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It makes checking out the kernel possible on my rev2 B pi and compilation somewhat quicker.
This has been requested before but wasn’t available as a module in 3.12 and had to be complied in.
my git pull for the kernel falls over with allocation error without the swap enabled , with this enabled I don't end up using up my SD card by swapping.
I am using Xbian and based on my experience, Xbian has some glitches and slowdowns because it swaps to and from the SD card occasionally. The swap is never more than about 105MB total. zram "I/O" performance is extremely high compared to even my Class 10 SD card. If I had access to the zram module, I'd be able to use it to eliminate my playback issues. There is no good reason to not have the zram module available, especially since the Pi is the type of system that needs zram swap the most.
Regarding benchmarks, compilation performance is a poor benchmark because it is not a typical load for most users (if compilation performance matters, you are cross-compiling anyway) and hitting swap may not occur at all. A much better test would be running various tests using a web browser such as Firefox which often consumes all available RAM and gets OOM killed often if swap is disabled.
@jbruchon You'll have to ask in xbian forums. I suspect they build their own kernel, so this change will have no effect (they can of course make a similar change themselves).
I have also updated. Though not being able to give quantitative benchmark results, I have the impression that performance has improved (apache server, busy with owncloud). No problematic messages in syslog as far as I observed.
Activity
popcornmix commentedon Mar 17, 2015
Do you have any benchmarks showing the improvement?
(e.g. time to compile an app with and without compressed ramdisk?)
I'll look into it. Enabling as a module on 3.18 should be possible.
pssc commentedon Mar 17, 2015
I only properly benchmarked to see if it was worth enabling CONFIG_PGTABLE_MAPPING for this arch. it was a factor of ~two quicker.
pssc commentedon Mar 17, 2015
my git pull for the kernel falls over with allocation error without the swap enabled , with this enabled I don't end up using up my SD card by swapping.
jbruchon commentedon Mar 22, 2015
I am using Xbian and based on my experience, Xbian has some glitches and slowdowns because it swaps to and from the SD card occasionally. The swap is never more than about 105MB total. zram "I/O" performance is extremely high compared to even my Class 10 SD card. If I had access to the zram module, I'd be able to use it to eliminate my playback issues. There is no good reason to not have the zram module available, especially since the Pi is the type of system that needs zram swap the most.
Regarding benchmarks, compilation performance is a poor benchmark because it is not a typical load for most users (if compilation performance matters, you are cross-compiling anyway) and hitting swap may not occur at all. A much better test would be running various tests using a web browser such as Firefox which often consumes all available RAM and gets OOM killed often if swap is disabled.
firmware: MVC: various improvments to error handling
firmware: MVC: various improvments to error handling
popcornmix commentedon Mar 22, 2015
Should be enabled now. Can you rpi-update and test?
jbruchon commentedon Mar 23, 2015
I don't personally have rpi-update (xbian doesn't appear to have it.) Any alternative ways to obtain and test?
popcornmix commentedon Mar 23, 2015
@jbruchon You'll have to ask in xbian forums. I suspect they build their own kernel, so this change will have no effect (they can of course make a similar change themselves).
pssc commentedon Mar 24, 2015
I have this ok and working on one of my rev 2 B's that's under heavy load.
popcornmix commentedon Mar 24, 2015
Okay to close?
PeterPablo commentedon Mar 24, 2015
I have also updated. Though not being able to give quantitative benchmark results, I have the impression that performance has improved (apache server, busy with owncloud). No problematic messages in
syslogas far as I observed.main/linux-rpi: enable zram
firmware: MVC: various improvments to error handling
yutayu commentedon Dec 11, 2020
armbian/build#2377
armbian/build@e90a488
CONFIG_PGTABLE_MAPPING=y
It seems it causes error.
Like this ,#3839.
Merge pull request raspberrypi#894 from ojeda/update-docker
staging: vme_user: Fix checkpatch warnings in vme_tsi148.c