Re: Ottawa - kernel hackers ...
- From: Chipzz <chipzz ULYSSIS Org>
- To: Michael Meeks <michael ximian com>
- Cc: Alan Cox <alan redhat com>, <desktop-devel-list gnome org>
- Subject: Re: Ottawa - kernel hackers ...
- Date: Fri, 27 Jun 2003 19:04:35 +0200 (CEST)
On 27 Jun 2003, Michael Meeks wrote:
> time find ~/.gconf -name '*.xml' -exec cat {} > /dev/null \;
>
> Which on my (warm) machine is ~8 seconds, to read 180kb of data, from
> cold it's substantially worse. It seems to me that some holistic idea of
> the scope of what the machine is being asked to do could be used at
> login to very substantially improve login / app start time.
>
> real 0m8.736s
> user 0m0.209s
> sys 0m0.406s
chipzz Knuckles:~$ time find ~/.gconf -name '*.xml' -exec cat {} > /dev/null \;
real 0m2.964s
user 0m0.340s
sys 0m0.440s
chipzz Knuckles:~$ time find ~/.gconf -name '*.xml' -exec cat {} > /dev/null \;
real 0m0.853s
user 0m0.350s
sys 0m0.370s
chipzz Knuckles:~$ time find ~/.gconf -name '*.xml' -exec cat {} > /dev/null \;
real 0m0.703s
user 0m0.320s
sys 0m0.380s
chipzz Knuckles:~$ time find ~/.gconf -name '*.xml' | xargs cat > /dev/null
real 0m0.186s
user 0m0.030s
sys 0m0.060s
chipzz Knuckles:~$ time find ~/.gconf -name '*.xml' | xargs cat > /dev/null
real 0m0.084s
user 0m0.030s
sys 0m0.050s
And this is just a simple pentium 166 with 64MB Ram - 2.4.20.
Kind regards,
Chipzz AKA
Jan Van Buggenhout
--
------------------------------------------------------------------------
UNIX isn't dead - It just smells funny
Chipzz ULYSSIS Org
------------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]