[lkml]   [1996]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Speed of memcpy, csum_partial and csum_partial_copy
> Linus, is there any possibility of putting the FPU memcpy into 2.1 as
> an experimental feature? I've gotten a lot of good feedback from the
> pentium-memcpy list (the only person who's been having problems is on
> an SMP).

The SMP fpu code is subtley different as it saves the FPU state on all context
switches and "knows" the FPU won't be used early in the system startup before
the processes are set up right. I guess that is what causes his locks. The
other item is the kernel process cannot sleep doing an FPU copy as it might
wake up on the _other_ processor.

Have you looked at using the integer unit to asynchronously touch cache lines
ahead of the FPU btw ?

Now we need FPU copy/checksum 8). On a more serious note the next generation
Intel CPU's with the 57 new "multimedia" instructions like dot product will
let us down even better block copies and also copy/csum's looking at the intel


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