public inbox for gentoo-performance@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-performance] Speeding up program starts with squashfs
@ 2007-05-09 19:10 Roman Zimmermann
  2007-05-09 19:28 ` Derek Tracy
  2007-05-09 19:52 ` lnxg33k
  0 siblings, 2 replies; 7+ messages in thread
From: Roman Zimmermann @ 2007-05-09 19:10 UTC (permalink / raw
  To: gentoo-performance

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-05-09 21:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-09 19:10 [gentoo-performance] Speeding up program starts with squashfs Roman Zimmermann
2007-05-09 19:28 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox