Re: [gem5-users] Linux boot
The issue with booting with KVM is resolved when only applying the second patch. The issue we now see is after logging in we get a "Login timeout after 60 seconds" before we could type the username and password. Has anyone run into this issue? Thanks On Thu, Feb 27, 2020 at 4:11 PM niranjan soundararajan wrote: > > Thanks for getting back. But we need the full Ubuntu for running server > workloads. > > We looked at this link: > https://www.mail-archive.com/gem5-users@gem5.org/msg15053.html > > Where a user has gotten this resolved but when applying the 2 patches > doesnt help our case. > > Any other options? > > Thanks > > > On Thu, Feb 27, 2020 at 3:02 PM Ciro Santilli > wrote: > >> >> https://github.com/cirosantilli/linux-kernel-module-cheat/tree/8a2cad195b295ad02c23af7a629bd21b4a9f306d#gem5-buildroot-setup-getting-started >> boots Buildroot (not Ubuntu) to shell in about 4 minutes on a P51 >> https://cirosantilli.com/linux-kernel-module-cheat/#p51 >> >> With Ubuntu, I would use my own minimal init rather than the super >> bloated Ubuntu one. >> >> Then you can m5 checkpoint and restore as discussed elsewhere. >> >> >> On Thu, Feb 27, 2020 at 6:00 AM niranjan soundararajan >> wrote: >> > >> > Hello >> > >> > We are booting Ubuntu 18.0.4 and kernel 5.2.3 on x86_64 bit core. We >> are running the following commandline >> > >> > ./build/X86/gem5.opt configs/example/fs.py >> --disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3 >> --cpu-type=AtomicSimpleCPU --caches --l2cache --mem-size=8192MB >> > >> > >> > We notice that the boot process starts and proceeds successfully until >> we hit the following point (see below). Its stuck there for quite some >> time. I wanted to check if this is common or is there something we can do >> to speed it up? Whats sort of the typical boot times folks have seen with >> x86 cores (or others) and is there a checkpoint we can take in case we run >> into errors to avoid starting from scratch? >> > >> > [ OK ] Reached target Remote File Systems. >> > >> > Starting Availability of block devices... >> > >> > [ OK ] Started Availability of block devices. >> > >> > >> > >> > Thanks >> > >> > Niranjan >> > >> > ___ >> > 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] Linux boot
Thanks for getting back. But we need the full Ubuntu for running server workloads. We looked at this link: https://www.mail-archive.com/gem5-users@gem5.org/msg15053.html Where a user has gotten this resolved but when applying the 2 patches doesnt help our case. Any other options? Thanks On Thu, Feb 27, 2020 at 3:02 PM Ciro Santilli wrote: > > https://github.com/cirosantilli/linux-kernel-module-cheat/tree/8a2cad195b295ad02c23af7a629bd21b4a9f306d#gem5-buildroot-setup-getting-started > boots Buildroot (not Ubuntu) to shell in about 4 minutes on a P51 > https://cirosantilli.com/linux-kernel-module-cheat/#p51 > > With Ubuntu, I would use my own minimal init rather than the super > bloated Ubuntu one. > > Then you can m5 checkpoint and restore as discussed elsewhere. > > > On Thu, Feb 27, 2020 at 6:00 AM niranjan soundararajan > wrote: > > > > Hello > > > > We are booting Ubuntu 18.0.4 and kernel 5.2.3 on x86_64 bit core. We are > running the following commandline > > > > ./build/X86/gem5.opt configs/example/fs.py > --disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3 > --cpu-type=AtomicSimpleCPU --caches --l2cache --mem-size=8192MB > > > > > > We notice that the boot process starts and proceeds successfully until > we hit the following point (see below). Its stuck there for quite some > time. I wanted to check if this is common or is there something we can do > to speed it up? Whats sort of the typical boot times folks have seen with > x86 cores (or others) and is there a checkpoint we can take in case we run > into errors to avoid starting from scratch? > > > > [ OK ] Reached target Remote File Systems. > > > > Starting Availability of block devices... > > > > [ OK ] Started Availability of block devices. > > > > > > > > Thanks > > > > Niranjan > > > > ___ > > 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] Linux boot
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/8a2cad195b295ad02c23af7a629bd21b4a9f306d#gem5-buildroot-setup-getting-started boots Buildroot (not Ubuntu) to shell in about 4 minutes on a P51 https://cirosantilli.com/linux-kernel-module-cheat/#p51 With Ubuntu, I would use my own minimal init rather than the super bloated Ubuntu one. Then you can m5 checkpoint and restore as discussed elsewhere. On Thu, Feb 27, 2020 at 6:00 AM niranjan soundararajan wrote: > > Hello > > We are booting Ubuntu 18.0.4 and kernel 5.2.3 on x86_64 bit core. We are > running the following commandline > > ./build/X86/gem5.opt configs/example/fs.py --disk-image=ubuntu_base_v1.1.img > --kernel=vmlinux-5.2.3 --cpu-type=AtomicSimpleCPU --caches --l2cache > --mem-size=8192MB > > > We notice that the boot process starts and proceeds successfully until we hit > the following point (see below). Its stuck there for quite some time. I > wanted to check if this is common or is there something we can do to speed it > up? Whats sort of the typical boot times folks have seen with x86 cores (or > others) and is there a checkpoint we can take in case we run into errors to > avoid starting from scratch? > > [ OK ] Reached target Remote File Systems. > > Starting Availability of block devices... > > [ OK ] Started Availability of block devices. > > > > Thanks > > Niranjan > > ___ > 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] Linux boot
Thanks Abhishek. We get the following error with KVM panic: KVM: Failed to enter virtualized mode (hw reason: 0x8021) Any techniques to get over this error Thanks Niranjan On Thu, Feb 27, 2020 at 11:40 AM Abhishek Singh < abhishek.singh199...@gmail.com> wrote: > > Hi, > > You can use KVM CPU, it will boot the system fast as it works on host > machine speed. > > On Thu, Feb 27, 2020 at 1:00 AM niranjan soundararajan < > niranja...@gmail.com> wrote: > >> Hello >> >> We are booting Ubuntu 18.0.4 and kernel 5.2.3 on x86_64 bit core. We are >> running the following commandline >> >> ./build/X86/gem5.opt configs/example/fs.py >> --disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3 >> --cpu-type=AtomicSimpleCPU --caches --l2cache --mem-size=8192MB >> >> We notice that the boot process starts and proceeds successfully until we >> hit the following point (see below). Its stuck there for quite some time. I >> wanted to check if this is common or is there something we can do to speed >> it up? Whats sort of the typical boot times folks have seen with x86 cores >> (or others) and is there a checkpoint we can take in case we run into >> errors to avoid starting from scratch? >> >> *[ OK ] Reached target Remote File Systems.* >> >> * Starting Availability of block devices...* >> >> *[ OK ] Started Availability of block devices.* >> >> >> >> Thanks >> >> Niranjan >> ___ >> 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
Re: [gem5-users] Linux boot
Hi Yuan, The way I simulate DerivO3CPU, (first run)is I run with AtomicSimpleCPU and create a checkpoint after the boot by using command “/sbin/m5 checkpoint” and then run the benchmark. In my second run I restore checkpoint using AtomicSimpleCPU and then switch to DerivO3CPU. And then I get the final stats using DerivO3CPU. On Thu, Feb 27, 2020 at 1:13 AM Shougang Yuan wrote: > Hi, Abhishek, > > I also have similar questions. I can boot the ubuntu18.04 and kernel 5.2.3 > with timingSimpleCPu and KVM, but I want to run simulation with > DeriveO3CPU. Do you know how to change the CPU to DeriveO3 after we boot > the system with kvm or timingsimple cou? > > Best regards. > > Yuan > > On Thu, Feb 27, 2020 at 1:10 AM Abhishek Singh < > abhishek.singh199...@gmail.com> wrote: > >> >> Hi, >> >> You can use KVM CPU, it will boot the system fast as it works on host >> machine speed. >> >> On Thu, Feb 27, 2020 at 1:00 AM niranjan soundararajan < >> niranja...@gmail.com> wrote: >> >>> Hello >>> >>> We are booting Ubuntu 18.0.4 and kernel 5.2.3 on x86_64 bit core. We are >>> running the following commandline >>> >>> ./build/X86/gem5.opt configs/example/fs.py >>> --disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3 >>> --cpu-type=AtomicSimpleCPU --caches --l2cache --mem-size=8192MB >>> >>> We notice that the boot process starts and proceeds successfully until >>> we hit the following point (see below). Its stuck there for quite some >>> time. I wanted to check if this is common or is there something we can do >>> to speed it up? Whats sort of the typical boot times folks have seen with >>> x86 cores (or others) and is there a checkpoint we can take in case we run >>> into errors to avoid starting from scratch? >>> >>> *[ OK ] Reached target Remote File Systems.* >>> >>> * Starting Availability of block devices...* >>> >>> *[ OK ] Started Availability of block devices.* >>> >>> >>> >>> Thanks >>> >>> Niranjan >>> ___ >>> 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
Re: [gem5-users] Linux boot
Hi, Abhishek, I also have similar questions. I can boot the ubuntu18.04 and kernel 5.2.3 with timingSimpleCPu and KVM, but I want to run simulation with DeriveO3CPU. Do you know how to change the CPU to DeriveO3 after we boot the system with kvm or timingsimple cou? Best regards. Yuan On Thu, Feb 27, 2020 at 1:10 AM Abhishek Singh < abhishek.singh199...@gmail.com> wrote: > > Hi, > > You can use KVM CPU, it will boot the system fast as it works on host > machine speed. > > On Thu, Feb 27, 2020 at 1:00 AM niranjan soundararajan < > niranja...@gmail.com> wrote: > >> Hello >> >> We are booting Ubuntu 18.0.4 and kernel 5.2.3 on x86_64 bit core. We are >> running the following commandline >> >> ./build/X86/gem5.opt configs/example/fs.py >> --disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3 >> --cpu-type=AtomicSimpleCPU --caches --l2cache --mem-size=8192MB >> >> We notice that the boot process starts and proceeds successfully until we >> hit the following point (see below). Its stuck there for quite some time. I >> wanted to check if this is common or is there something we can do to speed >> it up? Whats sort of the typical boot times folks have seen with x86 cores >> (or others) and is there a checkpoint we can take in case we run into >> errors to avoid starting from scratch? >> >> *[ OK ] Reached target Remote File Systems.* >> >> * Starting Availability of block devices...* >> >> *[ OK ] Started Availability of block devices.* >> >> >> >> Thanks >> >> Niranjan >> ___ >> 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
Re: [gem5-users] Linux boot
Hi, You can use KVM CPU, it will boot the system fast as it works on host machine speed. On Thu, Feb 27, 2020 at 1:00 AM niranjan soundararajan wrote: > Hello > > We are booting Ubuntu 18.0.4 and kernel 5.2.3 on x86_64 bit core. We are > running the following commandline > > ./build/X86/gem5.opt configs/example/fs.py > --disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3 > --cpu-type=AtomicSimpleCPU --caches --l2cache --mem-size=8192MB > > We notice that the boot process starts and proceeds successfully until we > hit the following point (see below). Its stuck there for quite some time. I > wanted to check if this is common or is there something we can do to speed > it up? Whats sort of the typical boot times folks have seen with x86 cores > (or others) and is there a checkpoint we can take in case we run into > errors to avoid starting from scratch? > > *[ OK ] Reached target Remote File Systems.* > > * Starting Availability of block devices...* > > *[ OK ] Started Availability of block devices.* > > > > Thanks > > Niranjan > ___ > 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] linux boot up time
Hi Namitha, Looking at the linux-boot in regressions, using the atomic CPU, on a modern workstation: Alpha: 25 s ARM: 50 s X86: 130 s Andreas From: Namitha Krishna via gem5-users gem5-users@gem5.orgmailto:gem5-users@gem5.org Reply-To: Namitha Krishna namitha...@gmail.commailto:namitha...@gmail.com, gem5 users mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org Date: Monday, August 25, 2014 at 8:17 PM To: gem5-users@gem5.orgmailto:gem5-users@gem5.org gem5-users@gem5.orgmailto:gem5-users@gem5.org Subject: [gem5-users] linux boot up time Hello, Can anybody pls tell me how much time it takes to boot up linux on Gem5? regards, Namitha -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England Wales, Company No: 2548782___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users