[gem5-users] Query regarding DRAM controller's FR-FCFC scheduler implementation.
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 gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] Query regarding DRAM controller's FR-FCFC scheduler implementation.
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 gem5-users@gem5.org 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 gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] Query regarding DRAM controller's FR-FCFC scheduler implementation.
Yes. I got that. Thanks Amin. On Wed, Oct 1, 2014 at 2:56 PM, Amin Farmahini amin...@gmail.com wrote: 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 gem5-users@gem5.org 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 gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users