It is currently Sun Sep 25, 2016 5:39 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Limiting writes to SSD on EEEPC
PostPosted: Thu Apr 29, 2010 3:47 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 3719
Location: Pecos, Texas
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
http://posterous.mauriciovieira.net/how-to-firefox-cache-in-ramdisk-tmpfs

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

Code:
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:
browser.cache.disk.parent_directory;/media/ramdisk


To automount the ramdisk I edit my /etc/fstab as follows

Code:
# 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.
http://lonesysadmin.net/2008/02/21/elevatornoop/

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

Code:
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 :? . Whaddya think?

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search


Top
 Profile  
 
 
 Post subject: Re: Limiting writes to SSD on EEEPC
PostPosted: Thu Apr 29, 2010 4:06 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5541
Location: Greece
Great post.

I tried on my desktop, and tbh didn't notice any difference, but I'm sure eeepc users will see the benefits.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: Limiting writes to SSD on EEEPC
PostPosted: Thu Sep 22, 2016 6:31 pm 
Offline
User avatar

Joined: Sat Sep 10, 2011 11:04 am
Posts: 92
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! ;)

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:
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! :) )


brian

_________________
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com


Top
 Profile  
 
 Post subject: Re: Limiting writes to SSD on EEEPC
PostPosted: Thu Sep 22, 2016 7:32 pm 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 831
Quote:
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?


Top
 Profile  
 
 Post subject: Re: Limiting writes to SSD on EEEPC
PostPosted: Thu Sep 22, 2016 7:51 pm 
Offline
User avatar

Joined: Sat Sep 10, 2011 11:04 am
Posts: 92
skidoo wrote:
Quote:
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:
http://antix.freeforums.org/tweaks-for-audio-production-on-antix-16-t6603.html

Sorry 'bout that! :)


brian

_________________
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
suspicion-preferred