Re: [patch, v2.6.22-rc6] sys_time() speedup

From: Roman Zippel
Date: Mon Jun 25 2007 - 18:49:40 EST


Hi,

On Tue, 26 Jun 2007, Jesper Juhl wrote:

> Even if it is not faster, what would make it slower? Have you spotted
> something I have not?

There are other ways to read the clock and would require similiar
synchronization hooks.
Some archs can implement sys_time() in userspace, so there this change
would be useless.
I don't know what clock was used in the test, so maybe it can be replaced
with a faster clock.

AFAICT OLTP is not really a common application for most users, so there
may be other ways to optimize this special case. Just reading the patch
isn't enough here, you have to look at the whole picture and some pieces
are still missing...

bye, Roman
-
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/