This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate 1GB of random numbers and write them to a file | |
perl -e 'print STDERR "Grenerating data...\n"; while (1) { print rand() }' | \ | |
dd count=41943040 bs=512 | perl -e ' | |
# Accumulate and then Measure with dd | |
@all = (); | |
binmode(STDIN); | |
while (read(STDIN, $b, 1048576)) { # Read in 1 MB chunks | |
push(@all, $b); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate 1GB of random numbers and write them to a file | |
perl -e 'print STDERR "Grenerating data...\n"; while (1) { print rand() }' | \ | |
dd count=20971520 bs=512 | perl -e ' | |
# Accumulate and then Measure with dd | |
@all = (); | |
binmode(STDIN); | |
while (read(STDIN, $b, 1048576)) { # Read in 1 MB chunks | |
push(@all, $b); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make | |
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -funroll-loops -DDB_CHR -D | |
READ_36 -c align.cpp -o align.a.o | |
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -funroll-loops -DDB_CHR -D | |
READ_36 -c dbseq.cpp -o dbseq.a.o | |
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -funroll-loops -DDB_CHR -D | |
READ_36 -c main.cpp -o main.a.o | |
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -funroll-loops -DDB_CHR -D | |
READ_36 -c pairs.cpp -o pairs.a.o | |
g++ -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -funroll-loops -DDB_CHR -D |
NewerOlder