RE: Getting io statistics on processes.

2005-01-13 Thread Tzahi Fadida
#x27;ll have to try them to see for myself. Regards, tzahi. > -Original Message- > From: guy keren [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 13, 2005 11:37 PM > To: Tzahi Fadida > Cc: 'Muli Ben-Yehuda'; linux-il@cs.huji.ac.il > Subj

RE: Getting io statistics on processes.

2005-01-13 Thread guy keren
On Thu, 13 Jan 2005, Tzahi Fadida wrote: > I am implementing a new sql operator algorithm called full-disjunction. > I need to experiment with different environment conditions for > it and different cost considerations. > I can estimate the io cost by counting the operations of reading > and writ

RE: Getting io statistics on processes.

2005-01-13 Thread Tzahi Fadida
> Subject: Re: Getting io statistics on processes. > > > On Thu, Jan 13, 2005 at 01:37:16AM +0200, Tzahi Fadida wrote: > > > maybe I should just disable the background writer and disable read > > aheads. since I am working on a database, its doing its own caching. &g

Re: Getting io statistics on processes.

2005-01-13 Thread Muli Ben-Yehuda
On Thu, Jan 13, 2005 at 01:37:16AM +0200, Tzahi Fadida wrote: > maybe I should just disable the background writer and disable read > aheads. > since I am working on a database, its doing its own caching. > can it be done? Possibly via some combinatino of O_DIRECT and O_SYNC. I think at this poi

RE: Getting io statistics on processes.

2005-01-12 Thread Tzahi Fadida
005 12:18 AM > To: guy keren > Cc: Tzahi Fadida; linux-il@cs.huji.ac.il > Subject: Re: Getting io statistics on processes. > > > On Thu, Jan 13, 2005 at 12:29:01AM +0200, guy keren wrote: > > > in fact, it's very hard to achieve a proper "which process > c

Re: Getting io statistics on processes.

2005-01-12 Thread Muli Ben-Yehuda
On Thu, Jan 13, 2005 at 12:29:01AM +0200, guy keren wrote: > in fact, it's very hard to achieve a proper "which process caused this > I/O" log. consider the case where two processes wrote to the same position > in a file - there's likely to be only one disk write operation - which of > the two pro

Re: Getting io statistics on processes.

2005-01-12 Thread guy keren
On Wed, 12 Jan 2005, Muli Ben-Yehuda wrote: > > Well, it seems right. I am not sure if its all the io disk calls though. > > The code is not easy to read but it seems this is the same data > > that /proc/stat -> page line uses thru kstat.pgpgout. > > I am looking at what seems to be the point whe

Re: Getting io statistics on processes.

2005-01-12 Thread Muli Ben-Yehuda
On Wed, Jan 12, 2005 at 02:43:20PM +0200, Tzahi Fadida wrote: > Lets see if I understand, a dirtied buffer is not a regular > file read/write related but only a buffer I allocated in a process > using malloc, etc... that was changed and needed to be > returned to the vm swap file. Nope. Short exp

RE: Getting io statistics on processes.

2005-01-12 Thread Tzahi Fadida
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Muli Ben-Yehuda > Sent: Wednesday, January 12, 2005 11:57 AM > To: Tzahi Fadida > Cc: linux-il@cs.huji.ac.il > Subject: Re: Getting io statistics on processes. > > >

Re: Getting io statistics on processes.

2005-01-12 Thread Muli Ben-Yehuda
On Wed, Jan 12, 2005 at 02:39:03AM +0200, Tzahi Fadida wrote: > Well, it seems right. I am not sure if its all the io disk calls though. > The code is not easy to read but it seems this is the same data > that /proc/stat -> page line uses thru kstat.pgpgout. > I am looking at what seems to be the

RE: Getting io statistics on processes.

2005-01-11 Thread Tzahi Fadida
inal Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Muli Ben-Yehuda > Sent: Tuesday, January 11, 2005 10:19 AM > To: Tzahi Fadida > Cc: linux-il@cs.huji.ac.il > Subject: Re: Getting io statistics on processes. > > > On Tue, J

Re: Getting io statistics on processes.

2005-01-11 Thread Muli Ben-Yehuda
On Tue, Jan 11, 2005 at 10:10:41AM +0200, Tzahi Fadida wrote: > > > I am looking for a utility that does that and especially > > > a c library since I am in control of that process internal > > > programming. > > > > This is information that has to be exported from the kernel. > > I think tha l

RE: Getting io statistics on processes.

2005-01-11 Thread Tzahi Fadida
> -Original Message- > From: Muli Ben-Yehuda [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 11, 2005 8:40 AM > On Tue, Jan 11, 2005 at 12:26:52AM +0200, Tzahi Fadida wrote: > > > I am looking for io statistics per process in Linux. > > I need to count the number of read/write blocks

Re: Getting io statistics on processes.

2005-01-10 Thread Muli Ben-Yehuda
On Tue, Jan 11, 2005 at 12:26:52AM +0200, Tzahi Fadida wrote: > I am looking for io statistics per process in Linux. > I need to count the number of read/write blocks from the > magnetic disk a process performs. Are you ignoring the caches here? > I am looking for a utility that does that and e

Getting io statistics on processes.

2005-01-10 Thread Tzahi Fadida
Hello all, I am currently programming a database operator algorithm and i need to experiment with different kinds of settings for it. I am looking for io statistics per process in Linux. I need to count the number of read/write blocks from the magnetic disk a process performs. I am looking for a ut