9.10 tweaks

Discussion in 'Linux' started by geekyhawkes, Oct 26, 2009.

  1. geekyhawkes

    geekyhawkes

    Joined:
    Oct 22, 2008
    Messages:
    30
    Likes Received:
    0
    Hi guys,

    so i have made the jump and gone for a full reinstall of 910 using ext 4 on my aspire one. I had been pretty happy with my ubuntu install but having upgraded it several times from 0804 and using ext3 i felt now was the time for a full reinstall.

    Pretty much everything seems to work out of the box for 0910, wifi, microphone, webcam, lefthand card reader (right one not tested yet) and the new version does seem nice and polished.

    The question i have outstanding in my head is are there any tweaks i can apply to "sharpen" my install? I remember the old
    "elevator=noop" tweak discussion under previous versions, swapiness figures and fan tweaks.

    Which if any of these are now required? How does grub 2 change any of the tweaks (if at all?).

    Thanks for any help,

    Andy
     
    geekyhawkes, Oct 26, 2009
    #1
  2. geekyhawkes

    sjpn

    Joined:
    Jan 12, 2009
    Messages:
    16
    Likes Received:
    0
    if you're doing elevator=noop, i'm assuming you have ssd. in that case, i'd forget about having a swap partition. especially with only 8gb. as for the fan control, it is included in the 9.10 kernel now. some tweaks you'll still need are the pciehp...=1 for grub default to have the memory card readers work. i can't think of others right now.
     
    sjpn, Oct 27, 2009
    #2
  3. geekyhawkes

    geekyhawkes

    Joined:
    Oct 22, 2008
    Messages:
    30
    Likes Received:
    0
    Sorry yes i should have said i do have an ssd. Under grub2 i couldnt work out how i should put in the card reader fix or elevator=noop. Anyone had any luck that could give me an idea please?
     
    geekyhawkes, Oct 27, 2009
    #3
  4. geekyhawkes

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    What do you mean about this?
    Another tweak If you have 8GB SSD formated to ext4 is removing journaling...
    What about the powersaving tweaks? do we needed?

    Thanks
     
    jango, Oct 28, 2009
    #4
  5. geekyhawkes

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    Anyone???
     
    jango, Oct 30, 2009
    #5
  6. geekyhawkes

    abatrour

    Joined:
    Oct 6, 2008
    Messages:
    8
    Likes Received:
    0
    Here is a tweak, to fix slow web browsing you need to set your own dns settings for ipv4.
     
    abatrour, Oct 30, 2009
    #6
  7. geekyhawkes

    ags

    Joined:
    Jul 22, 2008
    Messages:
    34
    Likes Received:
    0
    Ubuntu 9.10 has the acerhdf fan control kernel module installed by default. However it shows up in the logs as being disabled.

    Type this from the commandline:

    Code:
    lsmod | grep acerhdf
    Make sure that acerhdf is actually loaded (It was for me). You can manually enable the fan module like this:

    Code:
    sudo sh -c 'echo -n "enabled" > /sys/class/thermal/thermal_zone0/mode'
    To make a more permanent solution add this to rc.local:

    Code:
     [- w /sys/class/thermal/thermal_zone0/mode ] && echo -n "enabled" > /sys/class/thermal/thermal_zone0/mode
    See also this Ubuntu Bug #436768
     
    ags, Oct 31, 2009
    #7
  8. geekyhawkes

    geekyhawkes

    Joined:
    Oct 22, 2008
    Messages:
    30
    Likes Received:
    0
    jango, can you give me a bit more detail how to setup those tweaks you listed below please?

    Thanks
     
    geekyhawkes, Nov 3, 2009
    #8
  9. geekyhawkes

    craigchapling

    Joined:
    Nov 4, 2009
    Messages:
    2
    Likes Received:
    0
    Hi,

    When I type "lsmod | grep acerhdf" into a terminal window, nothing happens... and when I try to manually turn on the fan control module I get "sh: cannot create /sys/class/thermal/thermal_zone0/mode: Directory nonexistent". Does anybody have any idea what I'm doing wrong, the fan is driving me mad!!!

    Please help!
     
    craigchapling, Nov 4, 2009
    #9
  10. geekyhawkes

    praesepe

    Joined:
    Dec 15, 2008
    Messages:
    20
    Likes Received:
    0

    Strange indeed, as acerhdf module is enabled by default on 9.10, at least on UNR... You may try to force load on boot by editing /etc/modules file and adding 'acerhdf' at the end.
     
    praesepe, Nov 5, 2009
    #10
  11. geekyhawkes

    GlenMH

    Joined:
    Sep 23, 2008
    Messages:
    57
    Likes Received:
    0
    Location:
    Bristol
    GlenMH, Nov 5, 2009
    #11
  12. geekyhawkes

    craigchapling

    Joined:
    Nov 4, 2009
    Messages:
    2
    Likes Received:
    0
    I'd tried that. Checked what BIOS i was on and turned out to be 3301.... updated to 3310 (which was a bit of a task in itself, bit of a linux noob) and it now works, and i have a fan which switches itself on and off as required- lovely. I'm going to try to get the SD card hot pluggable now, and then probably leave well alone! Thanks
     
    craigchapling, Nov 5, 2009
    #12
  13. geekyhawkes

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    What about the powersaving tweaks???

    I add that lines to my /etc/rc.local of my AA0 512RAM 8GB SSD with Karmic UNR...

     
    jango, Nov 15, 2009
    #13
  14. geekyhawkes

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    What about swapiness.... Anyone?? show me your rc.local
     
    jango, Nov 28, 2009
    #14
  15. geekyhawkes

    GlenMH

    Joined:
    Sep 23, 2008
    Messages:
    57
    Likes Received:
    0
    Location:
    Bristol
    Here's mine:

    Code:
    
    PATH=/sbin:/usr/sbin:/bin:/usr/bin
    
    . /lib/init/vars.sh
    . /lib/lsb/init-functions
    
    do_start() {
    	if [ -x /etc/rc.local ]; then
    	        [ "$VERBOSE" != no ] && log_begin_msg "Running local boot scripts (/etc/rc.local)"
    		/etc/rc.local
    		ES=$?
    		[ "$VERBOSE" != no ] && log_end_msg $ES
    		return $ES
    	fi
    }
    
    case "$1" in
        start)
    	do_start
            ;;
        restart|reload|force-reload)
            echo "Error: argument '$1' not supported" >&2
            exit 3
            ;;
        stop)
            ;;
        *)
            echo "Usage: $0 start|stop" >&2
            exit 3
            ;;
    esac
     
    GlenMH, Nov 28, 2009
    #15
  16. geekyhawkes

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    does anyone apply the powersaving tweaks to KARMIC???
     
    jango, Dec 20, 2009
    #16
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.