by Socaltom » Tue Jun 07, 2011 5:12 pm
So it turns out that P7zip has a multi thread capable bench mark built in. 7za b starts it with defaults. you can adjust the number of threads with -mmt (x) -mmt1 calls for single thread testt.
you can adjust the dictionary size ( impact memory use) with -md2 -md21 calls a 2 mb dictionary ( uses 35Mb)
Default uses about 113Mb
On the Pink vs I got the following results $this->bbcode_second_pass_code('', '[root@Arch Linux ARM install ~]# 7za b
7-Zip (A) 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15
p7zip Version 9.13 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)
RAM size: 247 MB, # CPU hardware threads: 1
RAM usage: 211 MB, # Benchmark threads: 1
Dict Compressing | Decompressing
Speed Usage R/U Rating | Speed Usage R/U Rating
KB/s % MIPS MIPS | KB/s % MIPS MIPS
22: 352 99 347 343 | 7324 99 670 661
23: 348 98 361 355 | 7203 99 666 659
24: 324 92 378 348 | 7057 98 665 654
----------------------------------------------------------------
Avr: 96 362 349 99 667 658
Tot: 98 514 503
')
On the Pro I got the following results using defaults
$this->bbcode_second_pass_code('', '[root@Videobox ~]# 7za b
7-Zip (A) 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15
p7zip Version 9.13 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
RAM size: 122 MB, # CPU hardware threads: 2
RAM usage: 113 MB, # Benchmark threads: 2
Dict Compressing | Decompressing
Speed Usage R/U Rating | Speed Usage R/U Rating
KB/s % MIPS MIPS | KB/s % MIPS MIPS
22: 329 147 217 320 | 9447 199 429 853
23: 160 81 201 163 | 9051 192 430 828
----------------------------------------------------------------
Avr: 114 209 242 196 429 840
Tot: 155 319 541
')
The Pro seems to hit a bottle neck, due to the lack of memory, which seriously reduces the CPU % in both tests, especially the second test. If you mathematically adjust for the % CPU time, then the Pro should be capable of 698 MIPS vs 513 for the Pink v2.
I also ran the test on the Pro with a single core to see how the result compared.$this->bbcode_second_pass_code('', '[root@Videobox ~]# 7za b -mmt1
7-Zip (A) 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15
p7zip Version 9.13 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
RAM size: 122 MB, # CPU hardware threads: 2
RAM usage: 107 MB, # Benchmark threads: 1
Dict Compressing | Decompressing
Speed Usage R/U Rating | Speed Usage R/U Rating
KB/s % MIPS MIPS | KB/s % MIPS MIPS
22: 233 100 227 226 | 4804 100 433 433
23: 193 89 223 197 | 4694 99 433 429
----------------------------------------------------------------
Avr: 94 225 212 100 433 431
Tot: 97 329 322
')
It calculates to about 331 MIPS @100%. So as we believed, the Pro is capable of more calculations than the Pink, but it is hampered in some operations by the limited memory. In the end, the balance of processing power and memory looks to provide similar performance between the v2 and the Pro as far as I'm concerned.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)