public inbox for gentoo-performance@lists.gentoo.org
 help / color / mirror / Atom feed
From: Roman Zimmermann <mereandor@gmail.com>
To: gentoo-performance@lists.gentoo.org
Subject: [gentoo-performance] Speeding up program starts with squashfs
Date: Wed, 9 May 2007 21:10:47 +0200	[thread overview]
Message-ID: <200705092110.53174.mereandor@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 981 bytes --]

deer, list!

I currently try to minimize the application startup-time for my gentoo-laptop. 
Even with prelink it takes about one minute to start kde and all programs in 
autostart due to the heavy disk i/o load.
In the last days I did some tests with taking a copy of my regular /usr (ext3) 
dir and storing it in a squashfs file. I then mount it as loopback device 
on /usr. (Leaving the original copy still intact but hidden.)

Those are the effects I try to achieve:
1. The filesystem has no fragmentation at all. Files in my regular /usr dir 
are somewhat fragmented, but not too badly.
2. It's compressed: less disk i/o and more cpu load.

So far the results have been promising. With the new squashfs I'm down to 
around 50 secs (-16%). But at the moment my benchmark methods are quite 
primitve. I simply have a stopwatch nearby and meassure the time from login 
to when the disk is idle again. I'm looking forward to some input on this.

greets
Roman

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2007-05-09 19:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09 19:10 Roman Zimmermann [this message]
2007-05-09 19:28 ` [gentoo-performance] Speeding up program starts with squashfs Derek Tracy
2007-05-09 19:36   ` Roman Zimmermann
2007-05-09 19:46     ` Derek Tracy
2007-05-09 21:07       ` Roman Zimmermann
2007-05-09 19:52 ` lnxg33k
2007-05-09 20:31   ` Derek Tracy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200705092110.53174.mereandor@gmail.com \
    --to=mereandor@gmail.com \
    --cc=gentoo-performance@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox