Introduction to the superpages support for ARMv6/v7

Ralf Wenk iz-rpi03 at hs-karlsruhe.de
Thu Aug 22 07:19:07 UTC 2013


Hi,

on my 512 MB raspberry pi I had to reduce params.HPLMaxProcMem to 400 MB
to avoid killing of the GUPS benchmark. After this small change everything
looks fine.

FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r254596M

$ ./gups 
Main table size   = 2^25 = 33554432 words
Number of updates = 134217728
CPU time used  = 40.437500 seconds
Real time used = 41.355471 seconds
0.003245465 Billion(10^9) Updates    per second [GUP/s]
Found 0 errors in 33554432 locations (passed).
$ sysctl vm.pmap
vm.pmap.sp_enabled: 1
vm.pmap.pv_entry_count: 5396
vm.pmap.pv_entry_max: 946260
vm.pmap.shpgperproc: 200
vm.pmap.section.demotions: 1109
vm.pmap.section.mappings: 0
vm.pmap.section.p_failures: 67
vm.pmap.section.promotions: 1342
$ 

2nd run

$ ./gups
Main table size   = 2^25 = 33554432 words
Number of updates = 134217728
CPU time used  = 40.421875 seconds
Real time used = 41.314968 seconds
0.003248647 Billion(10^9) Updates    per second [GUP/s]
Found 0 errors in 33554432 locations (passed).
$ sysctl vm.pmap
vm.pmap.sp_enabled: 1
vm.pmap.pv_entry_count: 4274
vm.pmap.pv_entry_max: 946260
vm.pmap.shpgperproc: 200
vm.pmap.section.demotions: 1137
vm.pmap.section.mappings: 0
vm.pmap.section.p_failures: 119
vm.pmap.section.promotions: 1599
$ 


Tank you for your nice work

 Ralf



More information about the freebsd-arm mailing list