| To: | Robin Holt <holt@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2.6.9-rc2 2/2] enhanced MM accounting data collection |
| From: | Paul Jackson <pj@xxxxxxx> |
| Date: | Tue, 28 Sep 2004 06:29:49 -0700 |
| Cc: | jlan@xxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, lse-tech@xxxxxxxxxxxxxxxxxxxxx, csa@xxxxxxxxxxx, akpm@xxxxxxxx, guillaume.thouvenin@xxxxxxxx, tim@xxxxxxxxxxxxxxxxxxxxxx, corliss@xxxxxxxxxxxxxxxx |
| In-reply-to: | <20040928113858.GA1090@lnx-holt.americas.sgi.com> |
| Organization: | SGI |
| References: | <4158956F.3030706@engr.sgi.com> <41589927.5080803@engr.sgi.com> <20040928023350.611c84d8.pj@sgi.com> <20040928113858.GA1090@lnx-holt.americas.sgi.com> |
| Sender: | csa-bounce@xxxxxxxxxxx |
Robin wrote:
> I have benchmarked these hooks a very long time ago. The number and
> location has not changed appreciably.
These results seem reasonable ... thanks.
> The size was never very noticable.
But would the time cost of being out of line be noticable either?
Actually, being out of line might be a tick faster, if it reduced by a
cache line what was needed for a common execution path.
> Originally, there was a 5% decrease in performance with the writing of
> the accounting data. There was another unfortunate side effect that some
> of the CSA metrics became much worse. This problem was later identified
> and fixed.
Is there any non-trivial risk that some other "unfortunate side affect"
exists today, that we'd find on benchmarking?
I'm not sure its worth benchmarking again, but I slightly suspect it is,
and if benchmarking was done, I'd do it with these calls both inline and
out of line, to see what affect that had on runtime. If no affect on
runtime, I'd tend toward the out of line calls - at least saving a
little kernel text space.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2.6.9-rc2 2/2] enhanced MM accounting data collection, Robin Holt |
|---|---|
| Next by Date: | Re: [PATCH 2.6.9-rc2 2/2] enhanced MM accounting data collection, Robin Holt |
| Previous by Thread: | Re: [PATCH 2.6.9-rc2 2/2] enhanced MM accounting data collection, Robin Holt |
| Next by Thread: | Re: [PATCH 2.6.9-rc2 2/2] enhanced MM accounting data collection, Robin Holt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |