Hi Zhiguo, You're correct that both will require some work. I think getting SMT to work in FS mode is completely doable, but it will take some effort. It's somewhat different effort that implementing a TLB, but i'd actually guess it's a similar amount of work. However, after you get a TLB you'l still be missing things like non-contiguous virtual/physical memory in a real system and other full system effects.
Ali On Aug 5, 2013, at 12:52 AM, GE ZHIGUO <ge.zhi...@huawei.com> wrote: > Hi, Ali > Thanks for your quick reply! > It is quite complicated to boot up Linux for some hardware features > such as SMT. > I am not sure which one is easier, SMT/SE with TLB or SMT/FS. > > Thanks! > > Zhiguo > > From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On > Behalf Of Ali Saidi > Sent: Monday, August 05, 2013 1:43 PM > To: gem5 users mailing list > Subject: Re: [gem5-users] About TLB in SE mode > > Hi Zhiguo, > > The TLB code in gem5 -- sure. However something needs to create the page > table still since the OS running under gem5 would typically do this. It's > likely that all the required processor registers aren't appropriately > initialized to do a table walk in SE mode, so that would need to be fixed > too. Why not run in FS mode? > > Ali > > On Aug 5, 2013, at 12:04 AM, GE ZHIGUO <ge.zhi...@huawei.com> wrote: > > > Hi, Ali > Thanks! > To enable TLB in SE, can we reuse the TLB code for FS mode with minor > modification? > The difference between SE and FS that I can think is that SE cannot support > page fault if I am not wrong. > But as you said, we can create a complete page table to handle this issue. > Apart from this, are there other > issues we need to handle? > > Regards, > Zhiguo > > > From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On > Behalf Of Ali Saidi > Sent: Monday, August 05, 2013 12:45 PM > To: gem5 users mailing list > Subject: Re: [gem5-users] About TLB in SE mode > > > To use a the tlb (and have table walks) you would need to create a complete > page table. While doable, FS mode provides this if you want to use it. > > Ali > > On Aug 4, 2013, at 11:41 PM, GE ZHIGUO <ge.zhi...@huawei.com> wrote: > > > > Hi, > I found that the TLB implementation in SE mode is much different from > that in full system mode. > There is actually no real TLB in SE. I am curious why TLB is so different in > GEM5 SE mode. > Is there anything that prevents us from using TLB in SE? Can we implement > TLB in SE mode? > > Thanks! > > Zhiguo > > _______________________________________________ > 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 > > _______________________________________________ > 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