Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#1
Guys, I have been trying to setup this EEEPC so as to minimise writes as much as possible to internal SSD
drives. And the below is what I have come up with so far

This is how I have my browser cache setup. Borrowed from this page

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://posterous.mauriciovieira.net/how-to-firefox-cache-in-ramdisk-tmpfs"
linktext was:"http://posterous.mauriciovieira.net/how ... disk-tmpfs"
====================================


I make a new directory in /media called /media/ramdisk

Code: Select all

root@biker:/mnt/sdb1/home/harry# mkdir /media/ramdisk
root@biker:/mnt/sdb1/home/harry#  mount -t tmpfs -o size=64M,nr_inodes=10k,mode=0777 tmpfs /media/ramdisk
Then I go into Iceape preferences and move cache to /media/ramdisk

about:config looks like this now when I type in browser.cache in the filter box

Code: Select all

browser.cache.disk.parent_directory;/media/ramdisk
To automount the ramdisk I edit my /etc/fstab as follows

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
/dev/sda1 / auto defaults,noatime 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
/dev/sdb1 /mnt/sdb1 ext2 auto,users,exec,noatime,errors=remount-ro 1 2
# Dynamic entries below
/dev/sda3 /mnt/sda3 vfat noauto,users,gid=users,dmask=002,fmask=113,relatime 0 0
tmpfs /media/ramdisk tmpfs size=64M,nr_inodes=10k,mode=777 0 0
My Next step was to borrow some stuff from this page below.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://lonesysadmin.net/2008/02/21/elevatornoop/"
linktext was:"http://lonesysadmin.net/2008/02/21/elevatornoop/"
====================================


So I edited my /boot/grub/menu.lst as follows

Code: Select all

timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

title antiX at sda1, kernel 2.6.32-1-mepis-smp
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=/dev/sda1 elevator=noop nomce quiet nosplash vga=788
initrd /boot/initrd.img-2.6.32-1-mepis-smp
boot

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=b5c8ff9d-5016-4862-8c6c-b96ac634f9de ro
# kopt_2_6=root=UUID=b5c8ff9d-5016-4862-8c6c-b96ac634f9de ro nosplash quiet

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=788 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(init-3) 3

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title        antiX-M8.5, kernel 2.6.32-1-mepis-smp
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.32-1-mepis-smp root=UUID=b5c8ff9d-5016-4862-8c6c-b96ac634f9de ro elevator=noop nosplash quiet 
initrd        /boot/initrd.img-2.6.32-1-mepis-smp

title        antiX-M8.5, kernel 2.6.32-1-mepis-smp (init-3)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.32-1-mepis-smp root=UUID=b5c8ff9d-5016-4862-8c6c-b96ac634f9de ro elevator=noop nosplash quiet 3
initrd        /boot/initrd.img-2.6.32-1-mepis-smp

title        antiX-M8.5, kernel memtest86+
root        (hd0,0)
kernel        /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

I have rebooted since doing all these changes and it may be my imagination. But my Asus EEEPC 900 seems
to boot up faster and Iceape also seems to open up faster now also. I hope I got this right before I add
it to the How to Install AntiX 8.5 at my blog __{{emoticon}}__ . Whaddya think?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Great post.

I tried on my desktop, and tbh didn't notice any difference, but I'm sure eeepc users will see the benefits.
Posts: 107
brian
Joined: 10 Sep 2011
#3
Thanks for the tips, you guys! So I can change ondemand to performance at bootup? I'll look into it! I thought it was a line to be changed in a file somewhere.

I found menu.lst in /usr/share/doc/memtest86+/examples/grub-menu.lst on my pc. It's quite a short file length and it sounds like it may not make much difference to my setup.. ?

PuppyStudio sounds interesting; I'll have to try it out in the future. For now, I think AntiX will do just about everything I need, and it's much faster than Ubuntu Studio was! Good work! __{{emoticon}}__

If I may add here:
I also noticed, since I use Audacity A LOT, I'm not sure which version of Wx widgets to use. So I've asked help over at the Audacity forum here:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forum.audacityteam.org/viewtopic.php?f=48&t=92394&start=10"
linktext was:"Audacity"
====================================


Do any of you guys have any recommendations about Wx widgets and Audacity? (So far I've used it without any crashes, but extra opinions are always useful! __{{emoticon}}__ )


brian
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#4
any recommendations about Wx widgets and Audacity?
? don't feed them after midnight?

Seriously, I don't understand what/why you are asking.
Installation of audacity from debian repositories automatically installs the appropriate wxWidgets.
Are you compiling your own modified/optimized version of audacity?
Posts: 107
brian
Joined: 10 Sep 2011
#5
skidoo wrote:
any recommendations about Wx widgets and Audacity?
? don't feed them after midnight?

Seriously, I don't understand what/why you are asking.
Installation of audacity from debian repositories automatically installs the appropriate wxWidgets.
Are you compiling your own modified/optimized version of audacity?
My apologies, I posted on the wrong thread.. (I was reading roky's post from another thread, and accidentially posted here.)
I did in fact install from the repos, but the developers at Audacity seem to think I might run into problems with the repository version, so I was asking suggestions.

So any possible suggestions ought to be posted on the original thread, here:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/tweaks-for-audio-production-on-antix-16-t6603.html"
linktext was:"antix.freeforu ms.org/tweaks-for- ... t6603.html"
====================================


Sorry 'bout that! __{{emoticon}}__


brian