Re: [PATCH 0/3] i_ino uniqueness: alternate approach -- hash theinodes

From: Jeff Layton
Date: Wed Jan 24 2007 - 09:23:18 EST


Andrew Morton wrote:

What is the additional overhead, expressed in relative terms? ie: as a percentage?

Short answer: ~3-4% in a not very scientific test.

Long answer: I timed 3 different runs of a program that created and then closed a pipe 10 million times on a patched and unpatched kernel. I then added up the
"system" times for each and divided them:

unpatched:
sys 1m53.959s
sys 1m56.083s
sys 1m48.055s

patched:
sys 1m56.899s
sys 1m57.027s
sys 1m57.031s

The result was 1.03803642150033866020.

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