I know that to support NUMA in X86 system, BIOS should provide System Resource Affinity Table (SRAT) and System Locality Information Table (SLIT), so the OS can get the cpu-memory affinity information as well as the distance between every two nodes.
But I can't find the corresponding source codes in GEM5. What's interesting is that I found codes about */numa_high_bit*/,//so I expect NUMA support is built into GEM5 without extra efforts. Any instruction?/ / Regards, Chen Houwu On Sat, 11 Jan 2014 11:30:35 +0800, Chen Houwu <[email protected]> wrote: > Hi, > > I want to run a NUMA enabled linux on gem5, what I tried is: > (1) add 4 memory range > (2) config 4 CPU > (3) set num_dirs=4 > (4) linux compiled with NUMA support. > (5) config boot_osflags with "numa=on" > > but I am still told "No NUMA configuration found" , see the following > output from gem5 term: > > BIOS-provided physical RAM map: > BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) > BIOS-e820: 000000000009fc00 - 0000000000100000 (reserved) > BIOS-e820: 0000000000100000 - 0000000040000000 (usable) > BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) > bootconsole [earlyser0] enabled > DMI 2.5 present. > last_pfn = 0x40000 max_arch_pfn = 0x400000000 > CPU MTRRs all blank - virtualized system. > init_memory_mapping: 0000000000000000-0000000040000000 > ACPI Error: A valid RSDP was not found (20090903/tbxfroot-219) > No NUMA configuration found > Faking a node at 0000000000000000-0000000040000000 > Bootmem setup node 0 0000000000000000-0000000040000000 > NODE_DATA [0000000000001000 - 0000000000004fff] > bootmap [0000000000008000 - 000000000000ffff] pages 8 > (5 early reservations) ==> bootmem [0000000000 - 0040000000] > #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - > 0000001000] > #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000] > #2 [0001000000 - 000173bc64] TEXT DATA BSS ==> [0001000000 - > 000173bc64] > #3 [000009f000 - 0000100000] BIOS reserved ==> [000009f000 - > 0000100000] > #4 [000173c000 - 000173c013] BRK ==> [000173c000 - 000173c013] > found SMP MP-table at [ffff8800000f0050] f0050 > Zone PFN ranges: > DMA 0x00000000 -> 0x00001000 > DMA32 0x00001000 -> 0x00100000 > Normal 0x00100000 -> 0x00100000 > Movable zone start PFN for each node > early_node_map[2] active PFN ranges > 0: 0x00000000 -> 0x0000009f > 0: 0x00000100 -> 0x00040000 > > Any instruction to create a simplest NUMA system? > Further more, how to create the system as attached figure? > > --- > Regards, > Chen Houwu >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
