Page 5 of 16 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 152

Thread: Improve (potentially halve) login time by using readahead

  1. #41
    Join Date
    Nov 2007
    Beans
    20

    Re: Improve (potentially halve) login time by using readahead

    Quote Originally Posted by jdong View Post
    Wow, very nice man, that's quite a polished solution. Thanks for posting it
    I should've done some more testing. For some reason the sub-shell would not continue after 'xmessage'. I updated my previous post so I think it should work now.

  2. #42
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: Improve (potentially halve) login time by using readahead

    Nice Howto! Works really well here. Hardy with I gig of ram. Forgot to time the original time, but its seems about 40% faster. Thanks.

  3. #43
    Join Date
    Nov 2007
    Location
    Hull, England
    Beans
    41
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Improve (potentially halve) login time by using readahead

    When I go into the terminal and press alt+f8 I get a crash, even if I have typed no commands. I can recover it by opening another terminal and restarting X. In my system log the last error is Invalid position buffer, using LPIB read method instead .
    Any ideas?

  4. #44
    Join Date
    Jun 2006
    Location
    A galaxy far, far away...
    Beans
    2,800

    Re: Improve (potentially halve) login time by using readahead

    Works wonderfully! I didn't time it but login after a cold boot is at least as fast as a cached login was before.

    EDIT: did some experimenting with openoffice, using readahead shows no improvement in start times:

    uncached:
    before: ~10s
    using readahead-list && oowriter: ~10s
    using readahead-list & oowriter: ~11s
    using readahead-list & sleep 1 && oowriter: ~10s

    cached:
    before: ~3s
    using readahead-list && oowriter: ~3s
    using readahead-list & oowriter: ~3s
    using readahead-list & sleep 1 && oowriter: ~4s

    the list generated is attached if anyone is interested.

    (Note to those wanting to do this sort of testing: doing 'echo 1 > /proc/sys/vm/drop_caches' as root lets you empty your caches without rebooting.)
    Attached Files Attached Files
    Last edited by reacocard; December 15th, 2007 at 01:13 AM.
    "Whoever said sunshine brings happiness has never danced in the rain." - K. Jackson
    Exaile Media Player | Arch Linux
    Click here to have your brain eaten

  5. #45
    Join Date
    Apr 2005
    Beans
    1,377

    Re: Improve (potentially halve) login time by using readahead

    If you have home on a different partition as root, you should repeat Part 1 for each partition, replacing gnome.root with a different name, and replacing the mountpoint / with each interested mountpoint.
    Should I then merge root and user? How can I do it?
    ASUS K53S UbuntuGnome 17.04 64-bit
    Two Dell laptops with 16.04

  6. #46
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: Improve (potentially halve) login time by using readahead

    No, you should leave them as separate files, named gnome.root and gnome.home or whatever you like. Thinking about it, you could merge them together. cat file1 >> file2 and then both files are merged.

  7. #47
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Improve (potentially halve) login time by using readahead

    Whether or not you should merge them depends on your setup:

    If the partitions are on the same physical device, merge them together into one file.

    If they are on different physical devices, keep it separate -- they will be read in parallel and hence speed things up.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  8. #48
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: Improve (potentially halve) login time by using readahead

    Quote Originally Posted by jdong View Post
    Whether or not you should merge them depends on your setup:

    If the partitions are on the same physical device, merge them together into one file.

    If they are on different physical devices, keep it separate -- they will be read in parallel and hence speed things up.
    Ah, thats clever!

  9. #49
    Join Date
    Jun 2007
    Location
    Asgard
    Beans
    154
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Improve (potentially halve) login time by using readahead

    I'm confused ALT+F8 resizes my selected window. Is their another shortcut to do what you said?
    -Nimaran

    "We are all entitled to our opinions, and we are all entitled to be wrong."

  10. #50

    Smile Re: Improve (potentially halve) login time by using readahead

    I have saved 20 seconds on my already "as optimized as I can" login, going from 34 seconds to 14 seconds, with specto+composited metacity+awn on startup. It is relieving. Thank you for this tutorial.

    You've got to propose this being in ubuntu (or gnome) by default! Has any work been done towards that? I can't help (lack of time), but I would happily subscribe to a launchpad blueprint or mailing list thread if there is one.
    Last edited by kiddo; January 5th, 2008 at 11:28 PM.

Page 5 of 16 FirstFirst ... 3456715 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •