Re: RAID456 direct I/O write performance

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

 



On Thu, 04 Sep 2014 23:12:44 +0200 Ethan Wilson <ethan.wilson@xxxxxxxxxxxxx>
wrote:

> OTOH I would like to ask kernel experts one thing if I may: does anybody 
> know a way to get a stack trace for a process which is currently running 
> in kernel mode and is running NOW on a CPU and it is not stopped waiting 
> in a queue? I know about /proc/pid/stack but that one shows 
> 0xffffffffffffffff for such a case. Being able to do that would help to 
> answer the above question too...

The contents of the stack would change while it was being inspected, so it
would be impossible  to get a meaningful trace.

Maybe you could disable all but one CPU.  Then whenever you try to look at
the stack of another process it must have scheduled and so will have a
stable visible stack...

Or maybe you would use "perf record -g" to get some stack information, I'm
not sure.

NeilBrown

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux