friends, I have noticed a big difference in the performance between kernel 6.0.0-4mx-amd64 and kernel 6.0.0-11.2-liquorix-amd64, the latter being the winner.
With the version of liquorix that I mentioned before, I can work well with the problem that when passing the data from the fixed memory to the exchange one, the equipment slows down but after 10 to 15 seconds it recovers its normal speed and I can work well. On the other hand, with the latest kernel packaged by mx, the team feels very fast until it starts using the swap and as the seconds go by, the slowness does not go away; same for debian kernel 5.10.0.19.
I think that liquorix has done some magic to improve the use of swap memory, although it still needs to be improved so that it does not slow down when transferring data from memory to swap.
If someone wants to recommend me to buy another hard drive or buy more memory, don't worry, it's something I already have in mind. For now, I would like to find a kernel that manages the use of swap perfectly, just like Windows does, which is hardly noticeable when using swap.
differences in swap management between kernel 6.0.0-4mx-amd64 and kernel 6.0.0-11.2-liquorix-amd64 [Solved]
-
- Posts: 122
- Joined: Sat Oct 01, 2022 9:55 pm
Re: differences in swap management between kernel 6.0.0-4mx-amd64 and kernel 6.0.0-11.2-liquorix-amd64
I have discovered the exact opposite in terms of both general kernel performance and stability... Mileage will vary.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
-
- Posts: 122
- Joined: Sat Oct 01, 2022 9:55 pm
Re: differences in swap management between kernel 6.0.0-4mx-amd64 and kernel 6.0.0-11.2-liquorix-amd64
In my opinion the 6.0.0-4mx-amd64 kernel is a bit faster than liquorix, but only until it starts using swap.manyroads wrote: Sun Dec 11, 2022 9:18 am I have discovered the exact opposite in terms of both general kernel performance and stability... Mileage will vary.
Liquorix in its kernel version 6.0.0-11.2-liquorix-amd64 manages swap better.
Of course, this is only noticeable in modest computers, like mine that use a HDD with 6gb of ram.
In computers with SSD and 32gb of ram it is ridiculous to test who manages swap better.
Re: differences in swap management between kernel 6.0.0-4mx-amd64 and kernel 6.0.0-11.2-liquorix-amd64
Liquorix kernels use zswap by default.
-
- Posts: 122
- Joined: Sat Oct 01, 2022 9:55 pm
Re: differences in swap management between kernel 6.0.0-4mx-amd64 and kernel 6.0.0-11.2-liquorix-amd64
"Liquorix contains an optimization we borrowed from ChromeOS to improve performance of swap": https://github.com/zen-kernel/zen-kerne ... 57b0d6a7c6
This is what people are saying about Liquorix https://techpatterns.com/forums/post-14390.html#14390
This is what people are saying about Liquorix https://techpatterns.com/forums/post-14390.html#14390
Last edited by Juan_David95 on Fri Dec 16, 2022 9:11 am, edited 1 time in total.
- Eadwine Rose
- Administrator
- Posts: 15377
- Joined: Wed Jul 12, 2006 2:10 am
Re: differences in swap management between kernel 6.0.0-4mx-amd64 and kernel 6.0.0-11.2-liquorix-amd64
@Juan_David95 Please use English for the entirety of your post as you are not in a foreign language forum, thank you.
MX-23.6_x64 July 31 2023 * 6.1.0-40amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
-
- Posts: 122
- Joined: Sat Oct 01, 2022 9:55 pm
Re: differences in swap management between kernel 6.0.0-4mx-amd64 and kernel 6.0.0-11.2-liquorix-amd64 [Solved]
I share the solution I found from the liquorix forum:
Friends of mxlinux, I suggest you add to the kernels that you compile, the improvements at least in terms of swap that liquorix has implemented, because they make a notable difference and improvement compared to the other kernels in terms of swap management.
see the whole thread here: https://techpatterns.com/forums/post-14396.html#14396@damentz thanks for keeping an eye on this post.
Look, I checked zram on the debian 5.10 kernel and the latest kernel packaged by mxlinux 6.0, and as you said they suffer from that "stop the world" type impact, but doing tests I set the aggressiveness of kswapd, which I understand is the service or daemon that manages sharing with this property in /etc/sysctl.conf:
and this did the magic. When paging is done the system no longer suffers from that "stop the world" type shock. Just a little slow but for example chrome no longer gets stuck when I go to open a new tab or evernote doesn't freeze.Code: Select all
vm.watermark_scale_factor = 200
edited: withthere is no slowness when using swap.Code: Select all
vm.watermark_scale_factor = 250
It remains to be improved that the system slows down when it reaches the top of the swap even with available ram space.
Friends of mxlinux, I suggest you add to the kernels that you compile, the improvements at least in terms of swap that liquorix has implemented, because they make a notable difference and improvement compared to the other kernels in terms of swap management.