Re: [PATCH] increase pipe size/buffers/atomicity :D

From: Eric Dumazet
Date: Thu Apr 08 2010 - 01:11:22 EST


Le mercredi 07 avril 2010 Ã 19:38 -0600, brian a Ãcrit :
> (tested and working with 2.6.32.8 kernel, on a Athlon/686)
>
>
> --- include/linux/pipe_fs_i.h.orig 2010-04-06 22:56:51.000000000 -0500
> +++ include/linux/pipe_fs_i.h 2010-04-06 22:56:58.000000000 -0500
> @@ -3,7 +3,7 @@
>
> #define PIPEFS_MAGIC 0x50495045
>
> -#define PIPE_BUFFERS (16)
> +#define PIPE_BUFFERS (32)

Doing such a thing puts high pressure on stack usage on some parts of
the kernel, and actually slow down some benches.



--
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/