Re: Intermittent system hangs on 7.2-RELEASE-p1

2009-09-10 Thread Linda Messerschmidt
Just to follow up, I've been doing some testing with masking for KTR_LOCK rather than KTR_SCHED. I'm having trouble with this because I have the KTR buffer size set to 1048576 entries, and with only KTR_LOCK enabled, this isn't enough for even a full second of tracing; the sample I'm working with

Re: Intermittent system hangs on 7.2-RELEASE-p1

2009-09-10 Thread Linda Messerschmidt
On Thu, Sep 10, 2009 at 2:46 PM, Julian Elischer wrote: > I've noticed that schedgraph tends to show the idle threads slightly > skewed one way or the other.  I think there is a cumulative rounding > error in the way they are drawn due to the fact that they are run so > often.  Check the raw data a

Re: Intermittent system hangs on 7.2-RELEASE-p1

2009-09-10 Thread Julian Elischer
Linda Messerschmidt wrote: On Thu, Sep 10, 2009 at 12:57 PM, Ryan Stone wrote: You should be able to run schedgraph.py on a windows machine with python installed. It works just fine for me on XP. Don't have any of those either, but I *did* get it working on a Mac right out of the box. Should

Re: Intermittent system hangs on 7.2-RELEASE-p1

2009-09-10 Thread Linda Messerschmidt
On Thu, Sep 10, 2009 at 12:57 PM, Ryan Stone wrote: > You should be able to run schedgraph.py on a windows machine with python > installed.  It works just fine for me on XP. Don't have any of those either, but I *did* get it working on a Mac right out of the box. Should have thought of that soone

Re: Intermittent system hangs on 7.2-RELEASE-p1

2009-09-10 Thread Ryan Stone
You should be able to run schedgraph.py on a windows machine with python installed. It works just fine for me on XP. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "

Re: Re: How to prevent other CPU from accessing a set of pages before calling pmap_remove_all functi

2009-09-10 Thread guomingyan
On Sep 10, 2009 5:08am, Kostik Belousov wrote: On Wed, Sep 09, 2009 at 11:57:24PM -0700, MingyanGuo wrote: > On Wed, Sep 9, 2009 at 11:26 PM, MingyanGuo guoming...@gmail.com> wrote: > > > Hi all, > > > > I find that function pmap_remove_all for arch amd64 works with a time > > w

Re: Intermittent system hangs on 7.2-RELEASE-p1

2009-09-10 Thread Linda Messerschmidt
On Thu, Aug 27, 2009 at 5:29 PM, John Baldwin wrote: > Ah, cool, what you want to do is use KTR with KTR_SCHED and then use > schedgraph.py (src/tools/sched) to get a visual picture of what the box does > during a hang.  The timestamps in KTR are TSC cycle counts rather than an > actual wall time w

Re: How to prevent other CPU from accessing a set of pages before calling pmap_remove_all function

2009-09-10 Thread Kostik Belousov
On Wed, Sep 09, 2009 at 11:57:24PM -0700, MingyanGuo wrote: > On Wed, Sep 9, 2009 at 11:26 PM, MingyanGuo wrote: > > > Hi all, > > > > I find that function pmap_remove_all for arch amd64 works with a time > > window between reading & clearing the PTE flags(access flag and dirty flag) > > and inva