Skip to content

Instantly share code, notes, and snippets.

View jauderho's full-sized avatar

Jauder Ho jauderho

View GitHub Profile
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 79774
Total time (secs): 79.774000
Iterations/Sec : 1253.541254
Iterations : 100000
Compiler version : GCC4.2.1
Compiler flags : -O3 -funroll-loops -fgcse-sm -falign-loops=8 -march=armv7-a -mcpu=cortex-a8 -combine -mfloat-abi=soft -ftree-vectorize -ftree-vectorizer-verbose=1 -mfpu=neon -static -fomit-frame-pointer -lrt -DPERFORMANCE_RUN=1 -lrt
Memory location : Please put data memory location here
(e.g. code in flash, data on heap etc)
ifeq ($(DEVICE),pre)
MARCH_TUNE := -Os -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8
PARCH := armv7
else
ifeq ($(DEVICE),pixi)
MARCH_TUNE := -Os -march=armv6j -mcpu=arm1136jf-s -mtune=arm1136jf-s
PARCH := armv6
endif
endif
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 51481
Total time (secs): 51.481000
Iterations/Sec : 1942.464210
Iterations : 100000
Compiler version : GCC4.2.1
Compiler flags : -O3 -funroll-loops -fgcse-sm -falign-loops=8 -march=armv7-a -mcpu=cortex-a8 -combine -mfloat-abi=soft -ftree-vectorize -ftree-vectorizer-verbose=1 -mfpu=neon -static -fomit-frame-pointer -lrt -DPERFORMANCE_RUN=1 -lrt
Memory location : Please put data memory location here
(e.g. code in flash, data on heap etc)
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 84587
Total time (secs): 84.587000
Iterations/Sec : 1182.214761
Iterations : 100000
Compiler version : GCC4.2.1
Compiler flags : -O3 -funroll-loops -fgcse-sm -falign-loops=8 -march=armv7-a -mcpu=cortex-a8 -combine -mfloat-abi=soft -ftree-vectorize -ftree-vectorizer-verbose=1 -mfpu=neon -static -fomit-frame-pointer -lrt -DPERFORMANCE_RUN=1 -lrt
Memory location : Please put data memory location here
(e.g. code in flash, data on heap etc)
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 84942
Total time (secs): 84.942000
Iterations/Sec : 1177.273905
Iterations : 100000
Compiler version : GCC4.4.1
Compiler flags : -O3 -funroll-loops -fgcse-sm -falign-loops=8 -march=armv7-a -mcpu=cortex-a8 -combine -mfloat-abi=soft -ftree-vectorize -ftree-vectorizer-verbose=1 -mfpu=neon -static -fomit-frame-pointer -lrt -DPERFORMANCE_RUN=1 -lrt
Memory location : Please put data memory location here
(e.g. code in flash, data on heap etc)
# Pixi (ka6sox)
# @ 600mhz - warthog
2007 ARM toolchain - Unrolled Single Precision 55730 Kflops ; 100 Reps
# @ 600mhz - stock
2007 ARM toolchain - Unrolled Single Precision 55229 Kflops ; 100 Reps
# Sprint Pre (unixpsycho)
# @ 1050mhz (compiled with -Os -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -mfpu=neon -mfloat-abi=softfp)
2007 ARM toolchain - Unrolled Single Precision 50490 Kflops ; 100 Reps
2) The following commands will remove old attachments and emails. However, email may work funny after this is run and it's advisable to reboot.
# find /var/luna/data/emails -type f -mtime +7 -exec rm -f {} \;
# find /var/luna/data/attachments -type f -mtime +7 -exec rm -f {} \;
#!/bin/sh
for i in `find / -name "*.db*" -print`
do
echo "cleaning $i"
echo 'VACUUM;' | sqlite3 $i
done
#!/usr/bin/perl
my @array;
open(FILE,"sessionstore.bak");
for (<FILE>) {
(@array) = split(/,{/,$_);
}
# extract everything that looks like a url
$ curl -I http://wordpress.com/
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 28 May 2010 04:30:04 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Last-Modified: Fri, 28 May 2010 04:29:56 +0000
Cache-Control: max-age=22, must-revalidate
Vary: Cookie
X-hacker: If you're reading this, you should visit automattic.com/jobs and apply to join the fun, mention this header.