Computer systems run on operating systems. Operating systems schedule threads on cores.
Gem5 models this by allowing you to load a disk image w/a operating system (e.g. linux kernel). If you modify the operating system's (e.g. linux kernel) scheduler, then use this it in gem5, your modifications in the scheduler will take place in the simulation. Check the gem5.org documentation for basic steps on setting up a disk image and kernel. Check the linux documentation for figuring out where the scheduling code is, understanding the data structures using the scheduler, and modifying the code appropriately. On Fri, May 11, 2012 at 8:36 AM, wael Amr <[email protected]> wrote: > so would you explain/clarify how it interact with the gem5 simulator to > schedule the tasks among the multicores (that is represented by any CPU > model ,e.g. O3) ? > > Thank you so much for your time. > > > On Fri, May 11, 2012 at 2:23 PM, Hossein Nikoonia <[email protected]>wrote: > >> Linux kernel is another big project. See kernel.org >> >> Sent from my iPad >> >> On May 11, 2012, at 2:25 PM, wael Amr <[email protected]> wrote: >> >> Hello All, >> >> As i need to use gem5 for assigning and scheduling tasks (threads) among >> multicore platform >> I notified from this email >> http://www.mail-archive.com/[email protected]/msg03331.html >> >> that i should i start with linux kernel. >> >> So please would anyone guide me which class in gem5 i should read and >> start with to modify in the Linux kernel ? >> >> As i am a new user to linux. >> >> Thank you so much >> Best Regards >> Wael Amr >> >> _______________________________________________ >> 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 >> > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- - Korey
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
