Re: [PATCH] pipe bugfix /cleanup
Manfred Spraul (manfred@colorfullife.com)
Fri, 04 Oct 2002 15:46:40 +0200
Alex Riesen wrote:
>
> This makes 2.4.19 + Con Kolivas patch behave very bad.
> The system goes slow, freeze, than wakes up, freeze again, etc.
>
> I did "cat /dev/zero | grep nothing".
>
> procs memory swap io system cpu
> r b w swpd free buff cache si so bi bo in cs us sy id
> 0 0 0 124592 292056 60624 70488 0 1 27 19 7 2 5 1 2
[snip]
> 0 2 1 437440 3168 52796 70132 4 20392 4 20392 493 542 0 5 95
> 0 2 2 437328 3144 52760 70168 0 19976 0 20180 602 341 1 1 98
> 10 0 6 143432 294816 52384 70168 8 128296 8 128436 2961 502 0 5 95
> 1 0 0 133448 307256 52320 70168 352 0 356 44 225 330 0 1 99
As I wrote, this is a grep problem. I assume that regexp are more
efficient over long chunks, but there must be a limit - regexp over
swapped out memory are slow ;-)
I'll send a bugreport to the grep maintainers.
>
> doesn't apply to 2.4.19
>
Yes. likely/unlikely changes, and one additional change log entry.
--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/