RE: Question about free/used memory on Linux

2007-11-14 Thread Ravinandan Arakali (rarakali)
Thanks Padraig. Any idea how to get the size of running linux kernel ? Ravi -Original Message- From: Pádraig Brady [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 3:58 AM To: Ravinandan Arakali (rarakali) Cc: Vaidyanathan Srinivasan; Linux Kernel Subject: Re: Question

RE: Question about free/used memory on Linux

2007-11-14 Thread Ravinandan Arakali (rarakali)
Thanks Padraig. Any idea how to get the size of running linux kernel ? Ravi -Original Message- From: Pádraig Brady [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 3:58 AM To: Ravinandan Arakali (rarakali) Cc: Vaidyanathan Srinivasan; Linux Kernel Subject: Re: Question

RE: Question about free/used memory on Linux

2007-11-13 Thread Ravinandan Arakali (rarakali)
TED] Sent: Sunday, October 21, 2007 10:50 PM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Question about free/used memory on Linux Ravinandan Arakali (rarakali) wrote: > Hi Vaidy, > Thanks for clarifying several of my doubts. > > To answer your question abou

RE: Question about free/used memory on Linux

2007-11-13 Thread Ravinandan Arakali (rarakali)
10:50 PM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Question about free/used memory on Linux Ravinandan Arakali (rarakali) wrote: Hi Vaidy, Thanks for clarifying several of my doubts. To answer your question about my intention, we currently have a system with 2 GB RAM

RE: Question about free/used memory on Linux

2007-10-22 Thread Ravinandan Arakali (rarakali)
, Ravi -Original Message- From: Pádraig Brady [mailto:[EMAIL PROTECTED] Sent: Monday, October 22, 2007 3:05 AM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Question about free/used memory on Linux Ravinandan Arakali (rarakali) wrote: > Hi kernel gurus, > I am

RE: Question about free/used memory on Linux

2007-10-22 Thread Ravinandan Arakali (rarakali)
Hi Vaidy, I will use the metric you have suggested. Thanks, Ravi -Original Message- From: Vaidyanathan Srinivasan [mailto:[EMAIL PROTECTED] Sent: Sunday, October 21, 2007 10:50 PM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Question about free/used memory on Linux

RE: Question about free/used memory on Linux

2007-10-22 Thread Ravinandan Arakali (rarakali)
Hi Vaidy, I will use the metric you have suggested. Thanks, Ravi -Original Message- From: Vaidyanathan Srinivasan [mailto:[EMAIL PROTECTED] Sent: Sunday, October 21, 2007 10:50 PM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Question about free/used memory on Linux

RE: Question about free/used memory on Linux

2007-10-22 Thread Ravinandan Arakali (rarakali)
, Ravi -Original Message- From: Pádraig Brady [mailto:[EMAIL PROTECTED] Sent: Monday, October 22, 2007 3:05 AM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Question about free/used memory on Linux Ravinandan Arakali (rarakali) wrote: Hi kernel gurus, I am trying

RE: Question about free/used memory on Linux

2007-10-21 Thread Ravinandan Arakali (rarakali)
day, October 21, 2007 12:01 PM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Question about free/used memory on Linux Ravinandan Arakali (rarakali) wrote: > Hi kernel gurus, > I am trying to find out the memory that's used on my linux box. > I find that there are quite a f

Question about free/used memory on Linux

2007-10-21 Thread Ravinandan Arakali (rarakali)
Hi kernel gurus, I am trying to find out the memory that's used on my linux box. I find that there are quite a few confusing metrics. How do I find out the "true" used memory ? 1. For eg. "free -m" shows free memory (excluding buffers/caches) as 308 MB while I can see(from "df" output) that the

Question about free/used memory on Linux

2007-10-21 Thread Ravinandan Arakali (rarakali)
Hi kernel gurus, I am trying to find out the memory that's used on my linux box. I find that there are quite a few confusing metrics. How do I find out the true used memory ? 1. For eg. free -m shows free memory (excluding buffers/caches) as 308 MB while I can see(from df output) that the the

RE: Question about free/used memory on Linux

2007-10-21 Thread Ravinandan Arakali (rarakali)
Arakali (rarakali) Cc: Linux Kernel Subject: Re: Question about free/used memory on Linux Ravinandan Arakali (rarakali) wrote: Hi kernel gurus, I am trying to find out the memory that's used on my linux box. I find that there are quite a few confusing metrics. How do I find out the true used

Question about core file generation

2007-07-24 Thread Ravinandan Arakali \(rarakali\)
Hi, When a process dumps core, the do_coredump() initiates the core file generation. Is this operation synchronous(does the kernel wait for core to be completely written to disk) ? Basically, if I have the parent process waiting for exit of child which dumped core, can the parent access the core

Question about core file generation

2007-07-24 Thread Ravinandan Arakali \(rarakali\)
Hi, When a process dumps core, the do_coredump() initiates the core file generation. Is this operation synchronous(does the kernel wait for core to be completely written to disk) ? Basically, if I have the parent process waiting for exit of child which dumped core, can the parent access the core

RE: Question about scheduling in 2.4.20

2007-06-15 Thread Ravinandan Arakali \(rarakali\)
. Does this look like a fairness/starvation issue ? Thanks, Ravi -Original Message- From: Ravinandan Arakali (rarakali) Sent: Thursday, June 14, 2007 10:02 AM To: Linux Kernel Subject: Question about scheduling in 2.4.20 Hi, I have a question about scheduling latencies in 2.4.20. We

RE: Question about scheduling in 2.4.20

2007-06-15 Thread Ravinandan Arakali \(rarakali\)
. Does this look like a fairness/starvation issue ? Thanks, Ravi -Original Message- From: Ravinandan Arakali (rarakali) Sent: Thursday, June 14, 2007 10:02 AM To: Linux Kernel Subject: Question about scheduling in 2.4.20 Hi, I have a question about scheduling latencies in 2.4.20. We

Question about scheduling in 2.4.20

2007-06-14 Thread Ravinandan Arakali \(rarakali\)
Hi, I have a question about scheduling latencies in 2.4.20. We are seeing that our process (started with default priority, normal fork, exec) is not scheduled on the CPU for 4 seconds (from our kernel traces). Is that possible under heavy load ? We believe the process is still alive but I wanted

Question about scheduling in 2.4.20

2007-06-14 Thread Ravinandan Arakali \(rarakali\)
Hi, I have a question about scheduling latencies in 2.4.20. We are seeing that our process (started with default priority, normal fork, exec) is not scheduled on the CPU for 4 seconds (from our kernel traces). Is that possible under heavy load ? We believe the process is still alive but I wanted

RE: Multiple instances of program sharing same text segment ?

2007-03-20 Thread Ravinandan Arakali \(rarakali\)
Thanks Jeremy. Ravi -Original Message- From: Jeremy Fitzhardinge [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 11:12 AM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Multiple instances of program sharing same text segment ? Ravinandan Arakali (rarakali

Multiple instances of program sharing same text segment ?

2007-03-20 Thread Ravinandan Arakali \(rarakali\)
Hi, We have multiple instances of the same executable running on our system. Do these instances share the text segment or are there multiple copies of the text segment(one for each process) ? Note that I am not talking about the shared libraries. I note that do_exec calls do_mmap to map the

Multiple instances of program sharing same text segment ?

2007-03-20 Thread Ravinandan Arakali \(rarakali\)
Hi, We have multiple instances of the same executable running on our system. Do these instances share the text segment or are there multiple copies of the text segment(one for each process) ? Note that I am not talking about the shared libraries. I note that do_exec calls do_mmap to map the

RE: Multiple instances of program sharing same text segment ?

2007-03-20 Thread Ravinandan Arakali \(rarakali\)
Thanks Jeremy. Ravi -Original Message- From: Jeremy Fitzhardinge [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 11:12 AM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Multiple instances of program sharing same text segment ? Ravinandan Arakali (rarakali

RE: Clarification required about select vs wake_up race condition

2007-03-14 Thread Ravinandan Arakali \(rarakali\)
] Sent: Wednesday, March 14, 2007 10:08 AM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Clarification required about select vs wake_up race condition On 12/03/07, Ravinandan Arakali (rarakali) <[EMAIL PROTECTED]> wrote: > Hi, > I am facing following problem and w

RE: Clarification required about select vs wake_up race condition

2007-03-14 Thread Ravinandan Arakali \(rarakali\)
PROTECTED] Sent: Wednesday, March 14, 2007 4:08 AM To: Ravinandan Arakali (rarakali) Cc: linux-kernel@vger.kernel.org Subject: Re: Clarification required about select vs wake_up race condition On Mon, 2007-03-12 at 12:44 -0700, Ravinandan Arakali (rarakali) wrote: > Hi, > I am facing f

RE: Clarification required about select vs wake_up race condition

2007-03-14 Thread Ravinandan Arakali \(rarakali\)
, 2007 4:08 AM To: Ravinandan Arakali (rarakali) Cc: linux-kernel@vger.kernel.org Subject: Re: Clarification required about select vs wake_up race condition On Mon, 2007-03-12 at 12:44 -0700, Ravinandan Arakali (rarakali) wrote: Hi, I am facing following problem and was wondering if somebody could

RE: Clarification required about select vs wake_up race condition

2007-03-14 Thread Ravinandan Arakali \(rarakali\)
] Sent: Wednesday, March 14, 2007 10:08 AM To: Ravinandan Arakali (rarakali) Cc: Linux Kernel Subject: Re: Clarification required about select vs wake_up race condition On 12/03/07, Ravinandan Arakali (rarakali) [EMAIL PROTECTED] wrote: Hi, I am facing following problem and was wondering if somebody

Clarification required about select vs wake_up race condition

2007-03-12 Thread Ravinandan Arakali \(rarakali\)
Hi, I am facing following problem and was wondering if somebody could help me out. Our char driver(pretty much like all other char drivers) does a poll_wait() and returns status depending on whether data is available to be read. Even though some data is available to be read(verified using one of

Clarification required about select vs wake_up race condition

2007-03-12 Thread Ravinandan Arakali \(rarakali\)
Hi, I am facing following problem and was wondering if somebody could help me out. Our char driver(pretty much like all other char drivers) does a poll_wait() and returns status depending on whether data is available to be read. Even though some data is available to be read(verified using one of