Re: Why is 2.4.32 four times faster than 2.6.14.6??
- From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
- Date: Sun, 8 Jan 2006 13:04:22 +0100 (MET)
>grant@deltree:~$ time grep -v 192\.168\. /var/log/apache/access_log |cut -c-96
>
>real 0m1.671s
>user 0m0.550s
>sys 0m0.300s
>grant@deltree:~$ time grep -v 192\.168\. /var/log/apache/access_log |cut -c-96 >/dev/null
>
>real 0m0.510s
>user 0m0.420s
>sys 0m0.080s
Given that the first command is the first one accessing access_log at
all, then: the second time, access_log is already cached and
therefore can be accessed faster.
Jan Engelhardt
--
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Why is 2.4.32 four times faster than 2.6.14.6??
- From: Grant Coady
- Re: Why is 2.4.32 four times faster than 2.6.14.6??
- References:
- Re: Why is 2.4.32 four times faster than 2.6.14.6??
- From: Markus Rechberger
- Re: Why is 2.4.32 four times faster than 2.6.14.6??
- From: Bernd Eckenfels
- Re: Why is 2.4.32 four times faster than 2.6.14.6??
- From: Grant Coady
- Re: Why is 2.4.32 four times faster than 2.6.14.6??
- Prev by Date: Re: Typo in include/linux/mmzone.h
- Next by Date: Re: Resend: Netlink socket problem
- Previous by thread: Re: Why is 2.4.32 four times faster than 2.6.14.6??
- Next by thread: Re: Why is 2.4.32 four times faster than 2.6.14.6??
- Index(es):
Relevant Pages
|