Open GoogleCodeExporter opened 9 years ago
Did you run "sudo mount -o remount,size=100% /dev/shm" ?
The mmap is failing. "unknown failure" is the error string returned by the
system.
Can you try running "stressapptest -M 1200"? Depending on the system, 32 bit
processes can usually directly allocate <1.4G, but must dynamically map in
sections of larger allocations at each use which means the test really
stressing your mmap and pagetable code more so than memory.
Original comment by nsanders@google.com
on 20 May 2015 at 12:01
Thanks for your suggestions.
Still fail one but the -M 1200 is working.
1. sudo mount -o remount,size=100% /dev/shm
-----
ubuntu@wandboard:~$ sudo mount -o remount,size=100% /dev/shm
[sudo] password for ubuntu:
ubuntu@wandboard:~$ stressapptest -s 1000 -M auto-detect -m 4 -C 4 -W -l
Log: Commandline - stressapptest -s 1000 -M auto-detect -m 4 -C 4 -W -l
Stats: SAT revision 1.0.6_autoconf, 32 bit binary
Log: buildd @ kishi01 on Sun Dec 1 04:07:20 UTC 2013 from open source release
Log: 1 nodes, 4 cpus.
Log: Total 2016 MB. Free 1571 MB. Hugepages 0 MB. Targeting 1713 MB (84%)
Log: Flooring memory allocation to multiple of 4: 1712MB
Log: Prefer POSIX shared memory allocation.
Log: You may need to run 'sudo mount -o remount,size=100% /dev/shm.'
Log: Using posix shared memory object 0x3 mapped as needed.
Stats: Starting SAT, 1712M, 1000 seconds
Process Error: PrepareTestMem mmap64(52100000, 100000) failed. error: unknown
failure.
Process Error: PrepareTestMem mmap64(30e00000, 100000) failed. error: unknown
failure.
Process Error: PrepareTestMem mmap64(37700000, 100000) failed. error: unknown
failure.
Assertion failed at os.cc:659
Assertion failed at os.cc:659
Assertion failed at os.cc:659
Assertion failed at os.cc:659
Assertion failed at os.cc:659
Assertion failed at os.cc:659
----
2. stressapptest -M 1200
-----
stressapptest -M 1200
Log: Commandline - stressapptest -M 1200
Stats: SAT revision 1.0.6_autoconf, 32 bit binary
Log: buildd @ kishi01 on Sun Dec 1 04:07:20 UTC 2013 from open source release
Log: 1 nodes, 4 cpus.
Log: Defaulting to 4 copy threads
Log: Flooring memory allocation to multiple of 4: 1200MB
Log: Prefer plain malloc memory allocation.
Log: Using memaligned allocation at 0x2b50d000.
Stats: Starting SAT, 1200M, 20 seconds
Log: region number 1 exceeds region count 1
Log: Region mask: 0x1
Log: Seconds remaining: 10
Stats: Found 0 hardware incidents
Stats: Completed: 23072.00M in 20.01s 1153.25MB/s, with 0 hardware incidents, 0
errors
Stats: Memory Copy: 23072.00M at 1153.44MB/s
Stats: File Copy: 0.00M at 0.00MB/s
Stats: Net Copy: 0.00M at 0.00MB/s
Stats: Data Check: 0.00M at 0.00MB/s
Stats: Invert Data: 0.00M at 0.00MB/s
Stats: Disk: 0.00M at 0.00MB/s
Status: PASS - please verify no corrected errors
-----
Original comment by jcsistem...@gmail.com
on 20 May 2015 at 2:03
Original issue reported on code.google.com by
jcsistem...@gmail.com
on 19 May 2015 at 3:02