Article View: comp.arch
Article #1836TLB traffic reports (was Re: Cycle Counter)
From: Andrew Klossner
Date: Mon, 14 Aug 1989 20:09
Date: Mon, 14 Aug 1989 20:09
15 lines
1300 bytes
1300 bytes
[]
"When a programmer suspects thrashing, the average OS can help
by reporting paging rates, task switch counts, interrupt load,
ethernet packets, and so on. The OS typically is unable to
report on cache traffic or on TLB traffic."
An OS hacker could get most of the way there without hardware assist by
making regular (once per clock tick?) sweeps through the page tables,
noting and clearing the "page used" bits and flushing the TLB. For
example, it wouldn't take more than a couple of days to fit something
like this into Unix system V, including the statistic reporting utility.
-=- Andrew Klossner (uunet!tektronix!frip.WV.TEK!andrew) [UUCP]
(andrew%frip.wv.tek.com@relay.cs.net) [ARPA]
Technical Details
Message-ID:
<4221@orca.WV.TEK.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!orca!frip!andrewReferences:
<MCCALPIN.89Aug9153545@masig3.ocean.fsu.edu> <GRUNWALD.89Aug9162836@flute.cs.uiuc.edu> <559@halley.UUCP> <5818@pt.cs.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!orca!frip!andrew From: andrew@frip.WV.TEK.COM (Andrew Klossner) Newsgroups: comp.arch Subject: TLB traffic reports (was Re: Cycle Counter) Message-ID: <4221@orca.WV.TEK.COM> Date: 14 Aug 89 20:09:02 GMT References: <MCCALPIN.89Aug9153545@masig3.ocean.fsu.edu> <GRUNWALD.89Aug9162836@flute.cs.uiuc.edu> <559@halley.UUCP> <5818@pt.cs.cmu.edu> Sender: nobody@orca.WV.TEK.COM Distribution: comp Organization: Tektronix, Wilsonville, Oregon Lines: 15