Re: [PATCH 0/3] new feature: monitoring page cache events

2016-08-01 Thread Dave Hansen
On 07/30/2016 10:31 AM, George Amvrosiadis wrote: > Dave, I can produce a patch that adds the extra two tracepoints and exports > all four tracepoint symbols. This would be a short patch that would just > extend existing tracing functionality. What do you think? Adding those tracepoints is probabl

Re: [PATCH 0/3] new feature: monitoring page cache events

2016-07-30 Thread George Amvrosiadis
On Fri, Jul 29, 2016 at 08:33:34AM -0700, Dave Hansen wrote: > What's to stop you from using tracing to gather and transport data out > of the kernel and then aggregate and present it to apps in an "elegant" > way of your choosing? > > I don't think it's really even worth having an in-depth discus

Re: [PATCH 0/3] new feature: monitoring page cache events

2016-07-29 Thread Dave Hansen
On 07/28/2016 08:47 PM, George Amvrosiadis wrote: > On Thu, Jul 28, 2016 at 02:02:45PM -0700, Dave Hansen wrote: >> On 07/25/2016 08:47 PM, George Amvrosiadis wrote: >>> 21 files changed, 2424 insertions(+), 1 deletion(-) >> >> I like the idea, but yikes, that's a lot of code. >> >> Have you consi

Re: [PATCH 0/3] new feature: monitoring page cache events

2016-07-28 Thread George Amvrosiadis
On Thu, Jul 28, 2016 at 02:02:45PM -0700, Dave Hansen wrote: > On 07/25/2016 08:47 PM, George Amvrosiadis wrote: > > 21 files changed, 2424 insertions(+), 1 deletion(-) > > I like the idea, but yikes, that's a lot of code. > > Have you considered using or augmenting the kernel's existing tracing

Re: [PATCH 0/3] new feature: monitoring page cache events

2016-07-28 Thread Dave Hansen
On 07/25/2016 08:47 PM, George Amvrosiadis wrote: > 21 files changed, 2424 insertions(+), 1 deletion(-) I like the idea, but yikes, that's a lot of code. Have you considered using or augmenting the kernel's existing tracing mechanisms? Have you considered using something like netlink for transp

[PATCH 0/3] new feature: monitoring page cache events

2016-07-25 Thread George Amvrosiadis
I'm attaching a patch set implementing a mechanism we call Duet, which allows applications to monitor events at the page cache level: page additions, removals, dirtying, and flushing. Using such events, applications can identify and prioritize processing of cached data, thereby reducing their I/O f