On Wed, Nov 18, 2020 at 17:43 Bin wrote:

> "Bin.Cheng" <amker.ch...@gmail.com> 2020-11-18 17:43:39
> 
> On Tue, Nov 10, 2020 at 3:04 PM 172060045 <172060...@hdu.edu.cn> wrote:
> >
> > Hi,
> >
> > Recently, I was interested in GCC AutoFDO optimization, which works by 
> > sampling specific PMU event on production machines and using those profiles 
> > to guide optimization. In this way, information such as cache miss can also 
> > be obtained through sampling, so can we implement feedback-directed cache 
> > optimization according to this idea?
> IIUC, the original AutoFDO doesn't do icache optimization based on
> icache-miss perf data, but I think this is possible to do.  One point
> is linker needs to be involved in order to reorder functions, not only
> GCC itself.  Also TLB-miss might be handled too.
> Thanks,
> bin

Hi all,

Thanks for your reply! This idea may indeed be able to do, we just plan to do 
it. if there is 
any progress in the future, relevant information will be synchronized.


Thanks,
yancheng

> >
> > ARMv8.2 provides SPE features, which can obtain accurate LLC miss, TLB 
> > miss, branch miss and remote access information through perf, it may be 
> > helpful to the idea.
> >
> >
> > Is any one doing relevant work?It would be grateful if someone could offer 
> > any advices, thx!

Reply via email to