Subject: Re: Measuring memory to memory copy operations (+ interrupts, DMA)
To: None <tech-kern@netbsd.org>
From: Kamal R Prasad <kamalrpr@in.ibm.com>
List: tech-kern
Date: 08/18/2003 14:04:20
Hello,

I have a related question. I am modifying systimer() [the clock interrupt 
handler] and want to add a couple of mem-to-mem copys [copy from userspace 
to kernel space] in the handler. is it affordable to copy in about 100 
bytes twice [and copy out a few bytes] within the routine if it is being 
called every one second?

The code is on AIX -but I expect similar performance on most versions of 
UNIX.

thanks for any inputs.
regards
-kamal