pcp
[Top] [All Lists]

Re: pmlogger -u questions

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: pmlogger -u questions
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 22 Apr 2014 16:39:47 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <2125677089.8342041.1398139783815.JavaMail.zimbra@xxxxxxxxxx>
References: <01e901cf56df$4ce97de0$e6bc79a0$@internode.on.net> <20140414212551.GK14108@xxxxxxxxxx> <534C6531.6050502@xxxxxxxxxxxxxxxx> <155006091.5545657.1397518977813.JavaMail.zimbra@xxxxxxxxxx> <20140415002952.GM14108@xxxxxxxxxx> <216112516.5558630.1397522268210.JavaMail.zimbra@xxxxxxxxxx> <53505571.6050900@xxxxxxxxxxxxxxxx> <2125677089.8342041.1398139783815.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: NwiHeUGviz9pBLv0TeUl4PtZ/xSv+KMrqN6d
Thread-topic: pmlogger -u questions

----- Original Message -----
> ----- Original Message -----
> [...]
> Yep, agreed.  Actually I would say the log write I/O patterns appear to
> be noticeably improved for the more realistic sizes, and well worth the
> slight CPU overhead.
> 
> However, given this:
> > Test cases 10,000 samples at 10msec intervals.
> 
> Could we re-create that table at a 10sec logged interval?  Perhaps
> just for 100 samples - that'd certainly satisfy my curiosity anyway.

Pondering further overnight, and after some code digging - there's no point
in doing this, I think - please ignore.  The answers will be (effectively)
the same AIUI, as there is nothing in the __pmOptFetch APIs that'll change
behaviour based on a different delta - same number of writes should result.

There was an earlier comment about difficulty in discerning physical I/O
resulting from pmlogger writes from those issued by the rest of the system.
One way to isolate that (somewhat) is to write to a separate unused device.
This device can then be targetted by blktrace(1).  Other factors still play
an overwhelming role though - filesystem characteristics, like delalloc vs.
allocating space when pmlogger issues the write(2), memory utilisation, and
so on.

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>