Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 14363  / 2 Years ago, wed, march 23, 2022, 3:17:46

The setup:



Thinkpad x40 without harddisk, 1GB of RAM. The hard-disks for these models are very slow, rare and expensive. This is why I installed Ubuntu 11.10 onto the USB. The system will be used for net - FF, and some office docs editing. If possible, I might setup a second PC, used for XBMC.



I have tried live Ubuntu USBs with the same PC and USB, and the setup is OK. I am limited to 4 GBs, though. This is why I chose to perform normal install.



The problems:



The system feels slow, and freezes every other second. I have no swap, only one root partition.



What I have tried:



sudo apt-get install preload


Use memory instead of disk



Add these lines to /etc/sysctl.conf, and reboot.



vm.swappiness = 0
vm.dirty_background_ratio = 20
vm.dirty_expire_centisecs = 0
vm.dirty_ratio = 80
vm.dirty_writeback_centisecs = 0


Mount /tmp onto ramdisk
Code:



mkdir /dev/shm/tmp
chmod 1777 /dev/shm/tmp
mount --bind /dev/shm/tmp /tmp


Still, the system is slow to the point of being unusable. Are there any other tweaks that can be done. I read that some parts of the system might be mounted into RAM, and that would be beneficial, but which parts and how to do that. I also read that compressing parts of the system might help, I dont know how to do that , too





More From » usb

 Answers
7

Info on running Ubuntu from RAM:



http://ubuntuforums.org/showthread.php?t=1594694



You can get away from the 4GB Persistence limit of the casper-rw file by using casper-rw and home-rw partitions.


[#40370] Thursday, March 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
peratingcit

Total Points: 253
Total Questions: 122
Total Answers: 94

Location: Botswana
Member since Sat, Jan 7, 2023
1 Year ago
;