Re: Why are core_id and CurrentCpusFormat() differences?

58 views
Skip to first unread message

Nick Sanders

unread,
Nov 12, 2018, 12:25:54 PM11/12/18
to stressappt...@googlegroups.com
CPU 0(0x80) is reported here:

the intent is to print the CPU the thread is running on, and the cpuset it's allowed to run on. In your case, it may be that sched_getcpu isn't returning the correct result, or the API has changed since stressapptest was written.

The "bus address" is the physical address as viewed by the CPU, via https://www.kernel.org/doc/Documentation/vm/pagemap.txt, although there are a number of things that could be considered a "physical address" depending on the system.


On Sun, Oct 28, 2018 at 11:13 PM 陳世翔 <ts01...@gmail.com> wrote:
Dear sir , 
            This is my error log .  
            I want to know why CPU 0 has 0x80 , 0x10 , 0x40  , 3 types .
            I know the core_id use gnu sched_getcpu() but why CPU 0 isn't equal 0x1 ??
            And how do i get physical address of errors  , it seems to be bus address?(uint64 paddr; // This is the bus address, if available.)
Many thanks ,
Victor

Log: Commandline - /data/mssv/stressapptest64 -s 10 -M 1635 -W --cc_test --stop_on_errors -v 8 -l /data/mssv/stressapptest.txt
Stats: SAT revision 1.0.4_autoconf, 64 bit binary
Log: Android version from open source release
Log: 1 nodes, 8 cpus.
Log: Defaulting to 8 copy threads
Log: Prefer plain malloc memory allocation.
Log: Using memaligned allocation at 0x7022400000.
Stats: Starting SAT, 1635M, 10 seconds
Log: region number 2 exceeds region count 1
Log: Region mask: 0x1
Report Error: miscompare : DIMM Unknown : 1 : 4s
Hardware Error: miscompare on CPU 0(0x80) at 0x7024582250(0x54a97257:DIMM Unknown): read:0x58a5a55a5aa5a55a, reread:0x58a5a55a5aa5a55a expected:0x5aa5a55a5aa5a55a
Report Error: miscompare : DIMM Unknown : 1 : 5s
Hardware Error: miscompare on CPU 0(0x10) at 0x7045f26960(0x97b1b967:DIMM Unknown): read:0x0000000002000000, reread:0x0000000002000000 expected:0x0200000002000000
Report Error: miscompare : DIMM Unknown : 1 : 9s
Hardware Error: miscompare on CPU 0(0x40) at 0x70379e92b0(0xa8c052b7:DIMM Unknown): read:0xfddfffffffdfffff, reread:0xfddfffffffdfffff expected:0xffdfffffffdfffff
Report Error: miscompare : DIMM Unknown : 1 : 9s
Hardware Error: miscompare on CPU 0(0x10) at 0x7084adfb90(0x88d0fb97:DIMM Unknown): read:0x0000000004000000, reread:0x0000000004000000 expected:0x0200000004000000
Report Error: miscompare : DIMM Unknown : 1 : 9s
Hardware Error: miscompare on CPU 0(0x80) at 0x706b94ca50(0xe28c7a57:DIMM Unknown): read:0x0000000002000000, reread:0x0000000002000000 expected:0x0200000002000000


--

---
You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-di...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages