Thanks for posting this. I am going to be using gem5 on some machines that
I don't have root access on and this is going to be super helpful.


On Fri, Mar 28, 2014 at 10:56 AM, Matt Poremba <[email protected]> wrote:

> Hi Christian,
>
>
> This probably isn't exactly the answer you are looking for, but I wrote a
> tool that allows you to mount the host file system running gem5 (similar to
> /host in simics if you are familiar with that). If you're interested, you
> can try it out and see if it works for you. Git remotes and guide are here:
>
> https://github.com/abmerop/gem5fs
> https://bitbucket.org/mrp5060/gem5fs
>
> (I actually wrote this because I don't have sudo access on my university
> machine to mount disk images. But you can see if it solves this problem
> too.)
>
> --
> Matt Poremba
> Ph.D. Candidate
> 354B IST Building
> Pennsylvania State University
> University Park, PA 16802
>
>
> On Fri, Mar 28, 2014 at 5:56 AM, Christian Pinto <[email protected]
> > wrote:
>
>> Hi all,
>>
>> I am Christian Pinto, PhD student at university of Bologna.
>>
>> I am actually working on gem5-gpu, but i ran into a problem which i think
>> is strictly related to gem5.
>>
>> For my project i need to run different benchmarks on gem5-gpu, booting
>> linux on x86 64bit (the kernel is Linux x86_64-vmlinux-2.6.28.4-smp).
>>
>> Since the boot is quite long, i thought to take a checkpoint just after
>> the boot is completed. Then when i change the benchmark i should just
>> modify the disk image, and run again gem5 resuming the simulation from the
>> checkpoint.
>>
>> The checkpoint part worked fine, gem5 resumes just aftre the boot. The
>> problem is that the disk image is not changing, even if i have mounted the
>> image, deleted a file and put a new one inside. When i boot the system i
>> still see the old file. It is frustrating to wait the whole boot for each
>> benchmark i run.
>>
>> I have also tried to disable the COW image, and gem 5 is directly working
>> on the raw disk image.
>>
>> Am i doing something wrong? Can you give me some help? Even a different
>> method to dynamically modify the disk image is welcome.
>>
>>
>>
>> Thanks
>>
>> Christian
>>
>>
>> --
>> Christian Pinto
>>
>> *PhD Student - *DEI Department
>> University of Bologna
>>
>> ---------------------------------------------------------------------------
>> Tel: +39 0512093938
>> Address: GPULab - Via Saragozza, 8. Bologna, Italy
>> web: www-micrel.deis.unibo.it/~pinto
>>
>> _______________________________________________
>> 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

Reply via email to