Prathap, As far as I remember, it choses the first request (oldest one) among hits. It starts from head of the queue and once there is a hit, you have got "the first come among multiple row hits."
Thanks, Amin On Wed, Oct 1, 2014 at 1:59 PM, Prathap Kolakkampadath via gem5-users < [email protected]> wrote: > Hi Users, > > > I am going through the FR-FCFS implementaion of gem5 DRAM Controller. > > When the queue.size() is greater than 1 and memSchedPolicy == > Enums::frfcfs, the ChooseNext function calls reorderQueue. > > The reorderQueue function searches for row hits first in the queue and if > there is a row hit it selects that request as the next request to be > processed. > > My question here is, what if there are multiple row hits? If there are > multiple row hits, is it not suppose to choose the first come among > multiple row hits? I think the current implementation doesn't arbitrate > among multiple row hits. Is this correct or i am missing something. > > > Thanks, > Prathap > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
