RE: effects of measurement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Seth,

Pardon my ignorance. I looked up Heisenburg's uncertainty principal and
I wonder if there is any academic proof or theory on its parallel in the
kernel area. I mean to say is there any works that said that one
particular way of measuring the kernel is not much better than another?

:-PPPP



> -----Original Message-----
> From: kernelnewbies-bounce@nl.linux.org 
> [mailto:kernelnewbies-bounce@nl.linux.org] On Behalf Of Seth Arnold
> Sent: Wednesday, July 10, 2002 2:40 PM
> To: kernelnewbies@nl.linux.org
> Subject: Re: effects of measurement
> 
> 
> On Wed, Jul 10, 2002 at 02:24:26PM +0900, Jonathan Khoo wrote:
> > However, I also realize that by adding unnecessary printk 
> statements 
> > will affect the system performance. How can I measure the "actual" 
> > timings?
> 
> Heisenburg's uncertainty principal plays a part in kernel 
> development :) You will always be stuck with "bad" timings 
> from measuring the timings. There is no way around that. 
> However, by just storing the timings in a memory buffer to be 
> retrieved later (say, through a character device, ioctl, 
> /proc file, sysctl, or your own filesystem) _AFTER_ you are 
> done doing whatever it is you care about, ought to help your 
> timing immensely.
> 
> printk is just so blasted slow.
> 
> -- 
> http://sardonix.org/
> 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux