e4rat-lite request

User Package Requests for MX-19
Message
Author
User avatar
oops
Posts: 1891
Joined: Tue Apr 10, 2018 5:07 pm

e4rat-lite request

#1 Post by oops »

Hello,

If and only if it is possible, request for e4rat-lite v0.2.7 , for MX17 to 19 (x32 and amd64)

https://wiki.archlinux.org/index.php/E4rat

The e4rat-lite reduces disk access times through physical file reallocation. It is based on the online defragmentation ioctl EXT4_IOC_MOVE_EXT from the ext4 filesystem, which was introduced in Linux Kernel 2.6.31. Therefore, other filesystem types or earlier versions of extended filesystems are not supported.
The e4rat-lite is created from a simply idea of implementating the e4rat-preload-lite on the main e4rat tree, but it ended up showing a number of features that could be improved, making e4rat-lite a more independent project, with several optimizations that causes your system to start even faster than standard e4rat.

I have compiled this one (for x32 and amd64) , and it works (about 5 seconds less to boot my PC and eepc)
https://github.com/LendyZhang/e4rat-lite

Just modify into, /etc/e4rat-lite.conf

; Path to the main initialization process
; /usr/lib/systemd/systemd
; ou
; /sbin/init
init_file=/sbin/init


and add:
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "e2fslibs")

SET(CPACK_DEBIAN_PACKAGE_CONFLICTS "auditd, ureadahead")
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
K-mik@Z
Posts: 17
Joined: Sat May 19, 2018 10:08 am

Re: e4rat-lite request

#2 Post by K-mik@Z »

oops wrote: Wed Jul 15, 2020 11:15 am request for e4rat-lite v0.2.7 , for MX17 to 19 (x32 and amd64)
+1
My tutorials
Sorry by advance for my english, I'm french.
Image "They didn't know it was impossible, so they did it." - Mark Twain

User avatar
agnivo007
Posts: 720
Joined: Mon May 04, 2020 11:39 pm

Re: e4rat-lite request

#3 Post by agnivo007 »

Looks interesting, but the config above shows a single choice for init. Would it work if we choose systemd boot/normal sysv from GRUB?
- Roy, Kolkata, IN. "REDUCE-REUSE-RECYCLE-REPURPOSE"
MX-21-AHS-KDE on [ H110M-H : Modded BIOS | Core i3-9350K | 8GB DDR4 | SP A60 NVMe PCIe3x4 | Samsung Evo 870 SSD | WD Black Mobile HDD ]

User avatar
oops
Posts: 1891
Joined: Tue Apr 10, 2018 5:07 pm

Re: e4rat-lite request

#4 Post by oops »

agnivo007 wrote: Sun Mar 14, 2021 2:03 pm Looks interesting, but the config above shows a single choice for init. Would it work if we choose systemd boot/normal sysv from GRUB?
The optimisation can work for both, but in 2 steps.
By running e4rat-lite-collect ... 2 times at boot time (sysvinit and systemd) to generate 2 startup.log, then concatenate them.
Then (2 ou 3 times):
e4rat-lite-realloc /var/lib/e4rat-lite/startup.log

Edit: e4rat or e4rat-light can be dangerous (especially during the collect times - can freeze at the grub time)
I only use now e4rat-lite for my eepc ( HDD not fast) ... with SSD e4rat is not efficient.
Last edited by oops on Mon Mar 15, 2021 9:27 am, edited 1 time in total.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
agnivo007
Posts: 720
Joined: Mon May 04, 2020 11:39 pm

Re: e4rat-lite request

#5 Post by agnivo007 »

Thanks for info, I too read a little about the 3 step process... looks like good for slower systems with mechanical spinning HDDs only, not for flash based storage (almost no gain due to similar access times of any data on them).
- Roy, Kolkata, IN. "REDUCE-REUSE-RECYCLE-REPURPOSE"
MX-21-AHS-KDE on [ H110M-H : Modded BIOS | Core i3-9350K | 8GB DDR4 | SP A60 NVMe PCIe3x4 | Samsung Evo 870 SSD | WD Black Mobile HDD ]

User avatar
oops
Posts: 1891
Joined: Tue Apr 10, 2018 5:07 pm

Re: e4rat-lite request

#6 Post by oops »

agnivo007 wrote: Sun Mar 14, 2021 11:19 pm Thanks for info, I too read a little about the 3 step process... looks like good for slower systems with mechanical spinning HDDs only, not for flash based storage (almost no gain due to similar access times of any data on them).
Yes it is normally 3 steps (to optimize only one init system), but more for optimizing two init systems (sysvinit and systemd), but usually only one optimization is needed for your main system init.
e4rat-light is interesting for laptop or old PCs with slow mechanical spinning HDDs. (but this e4rat tool is for "experts")
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

Post Reply

Return to “Package Requests/Status - MX-19”