Re: [PATCH] fs: pipe/sockets/anon dentries should not have a parent

From: Eric Dumazet
Date: Fri Nov 21 2008 - 10:29:31 EST


Ingo Molnar a écrit :
* Eric Dumazet <dada1@xxxxxxxxxxxxx> wrote:

Before patch, time to run 8 millions of close(socket()) calls on 8 CPUS was :

real 0m27.496s
user 0m0.657s
sys 3m39.092s

After patch :

real 0m23.997s
user 0m0.682s
sys 3m11.193s

cool :-)

What would it take to get it down to:

Cost if run one one cpu :

real 0m1.561s
user 0m0.092s
sys 0m1.469s

i guess asking for a wall-clock cost of 1.561/8 would be too much? :)


It might be possible, depending on the level of hackery I am allowed to inject
in fs/dcache.c and fs/inode.c :)

wall cost of 1.56 (each cpu runs one loop of one million iterations)


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