Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-performance
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-performance@g.o
From: Roman Zimmermann <mereandor@...>
Subject: Speeding up program starts with squashfs
Date: Wed, 9 May 2007 21:10:47 +0200
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:
pgpuPVcC5vPlL.pgp (PGP signature)
Replies:
Re: Speeding up program starts with squashfs
-- lnxg33k
Re: Speeding up program starts with squashfs
-- Derek Tracy
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
performance testing
Next by thread:
Re: Speeding up program starts with squashfs
Previous by date:
Re: performance testing
Next by date:
Re: Speeding up program starts with squashfs


Updated Jun 17, 2009

Summary: Archive of the gentoo-performance mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.