lkml.org 
[lkml]   [2003]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] i386-arch fixes/enhancements
	Nice to see somebody is pushing this. I am getting fed up wtih
applying these to every 2.4.xx.
Note that with GCC >= 3.x(Not sure about "x", definitely 3.2), the P4
compile option correctly
generates add/sub instructions instead of the "P4 killer" inc/dec.
Of course, in include/asm-i386, we still have incs/decs in
processor.h, atomic.h, rwsem.h, semaphore.h uaccess.h, system.h,
string.h, spinlock.h and smplock.h.
With the patches and changing the includes, I can get a 5-10% improvement
with a hefty DB app on a UP P4 which isn't to be sneezed at.
And perhaps somebody should take a squint at the "copy_xxx_user".
IMHO, this really should be inlined.
Try running a DB app which bounces semaphores at a terrific rate and what
do you see at the top of readprofile ? Yep, you guessed it.

Margit

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

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.019 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site