HI Jordan, Did you ever make any progress with this? What does /proc/cpuinfo say?
Ali On Feb 25, 2013, at 5:15 PM, Jordan Fix <j...@cs.princeton.edu> wrote: > Hello, > > I'm booting into full system mode with 4 processors and running a test > program which calls: > > sysconf(_SC_NPROCESSORS_ONLN); > > to determine the number of CPUs on the machine. However the return value is 1 > when run on gem5. > > I'm starting gem5 with the following parameters: > > ./build/X86/gem5.fast configs/example/fs.py --num-cpus=4 > --kernel=${FS_FILES}/binaries/x86_64-vmlinux-2.6.22.9.smp > --disk-image=${FS_FILES}/disks/x86root.img > > On boot it seems like 4 processors are being brought up: > > Processor #0 (Bootup-CPU) > Processor #1 > Processor #2 > Processor #3 > I/O APIC #4 at 0xFEC00000. > Setting APIC routing to flat > Processors: 4 > … > Initializing CPU#0 > … > Initializing CPU#1 > … > Initializing CPU#2 > … > Initializing CPU#3 > … > Brought up 4 CPUs > … > > Any idea what is going on? > > Thanks, > Jordan > > > > > > _______________________________________________ > 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