Page 1 of 1
KLF-Rawhide-CE-1.1.iso ( 1.1 Gb ) with Chromium browser
Posted: Thu Aug 17, 2023 2:16 pm
by Sofiya
Re: KLF-Rawhide-CE-1.1.iso
Posted: Fri Aug 18, 2023 2:46 pm
by Sofiya
Clearing the cache of the update manager and installed programs
clear thumbnail cache
Code: Select all
rm -v -f ~/.cache/thumbnails/*/*.png ~/.thumbnails/*/*.png
rm -v -f ~/.cache/thumbnails/*/*/*.png ~/.thumbnails/*/*/*.png
Clearing the Browser Cache
Code: Select all
Firefox: rm -r -v ~/.cache/mozilla
Chrome: rm -r -v ~/.cache/google-chrome
Chromium: rm -r -v ~/.cache/chromium
Shrinking the size of the system log file
Code: Select all
sudo journalctl --vacuum-size=128M
memory cleanup script
clean_cache_memory.sh
Code: Select all
#!/bin/sh
freemaemory="$(free -m | grep "Mem:" | awk '{ print $4 }')";
if [ $freemaemory -lt 200 ]
then
var1="Free memory: $freemaemory, therefore clean\nCleaning up the RAM $(hostname -f)\nDate:\t$(date +%d.%m.%Y\ %H:%M:%S)\nRAM:\n-----------------------------------Before the task is completed.------------------------------------\n$(free -m)\n-----------------------------------After the task is completed.---------------------------------\n\t"
echo -e $var1;
sync
#Clean pagecache:
echo 1 > /proc/sys/vm/drop_caches
#Clean dentrie and inode cache:
echo 2 > /proc/sys/vm/drop_caches
#Clean pagecache, dentrie and inode cache:
echo 3 > /proc/sys/vm/drop_caches
sync
echo -e "$var1\n$(free -m)\n\nMission accomplished.\n\n\n-----------------------------------Checking HDD free space---------------------------\n$(df -h)\n " | mail -s "Mamomory clear $(date +%d.%m.%Y\ %H:%M:%S)" yourmail@mail.ru
echo "Cache flush done."
exit
else
echo "Free Ram is: $freemaemory, Free no need. Free only if -lt 200";
exit
fi
exit
Re: KLF-Rawhide-CE-1.1.iso
Posted: Fri Aug 18, 2023 4:58 pm
by rockedge
Nice!
I am going to test these lines in a PLUG as it finishes, to perform some these and see what happens. Shrinking the size of the base rootfs quite a bit so far.
So far KLF-Rawhide-CE-1.1 running smoothly with excellent responsiveness. The versions I am building and testing are not as polished and for further polish and refinement this is the ISO to go with.
I attempted to make an ISO of KLF-rawhide-RT using the same full real time kernel that is in KLV-Airedale-RT and KLV-Spectr-RT, but the boot hangs at setting the network so I have to find out why this happening. Most likely module/firmware missing or conflict, and the KLF_rootfs was built with the kernel excluded. So no kernel at all.
I am going to try to swap the KLV-Spectr-RT kernel into KLF-Rawhide-CE-1.1 and see what happens
Re: KLF-Rawhide-CE-1.1.iso
Posted: Fri Aug 18, 2023 5:14 pm
by tosim
@Sofiya Thanks for this one. Can this be booted by FrugalPup?
Re: KLF-Rawhide-CE-1.1.iso
Posted: Fri Aug 18, 2023 5:26 pm
by Sofiya
tosim wrote: ↑Fri Aug 18, 2023 5:14 pm
@Sofiya Thanks for this one. Can this be booted by FrugalPup?
not sure, but you can try - strong difference between loading puppy
i usually do the whole installation manually viewtopic.php?p=95964#p95964