hsjung1305 / stressapptest

Automatically exported from code.google.com/p/stressapptest
Apache License 2.0
0 stars 0 forks source link

Assertion failed at os.cc:659 #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

What steps will reproduce the problem?

1. install: 

sudo apt-get install stressapptest

2. run: 

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 1628 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.
Assertion failed at os.cc:659
Process Error: PrepareTestMem mmap64(30e00000, 100000) failed. error: unknown 
failure.
Assertion failed at os.cc:659
Assertion failed at os.cc:659
Process Error: PrepareTestMem mmap64(37700000, 100000) failed. error: unknown 
failure.
Assertion failed at logger.cc:74
Assertion failed at os.cc:659
ubuntu@wandboard:~$

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

verion: 

stressapptest --help
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

OS:

Ubuntu 14.04.2 LTS (GNU/Linux 3.10.53-1.1.0_ga-wandboard armv7l)

Any suggestions?

Thanks

Original issue reported on code.google.com by jcsistem...@gmail.com on 19 May 2015 at 3:02

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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