projects
/
tahoe-lafs
/
zfec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c68dd8
)
zfec: set STRIDE to 8192 after extensive experimentation on my PowerPC G4 867 MHz...
author
zooko
<zooko@zooko.com>
Wed, 14 Nov 2007 16:44:26 +0000
(22:14 +0530)
committer
zooko
<zooko@zooko.com>
Wed, 14 Nov 2007 16:44:26 +0000
(22:14 +0530)
darcs-hash:
c361c87dc18b6938cd0756a084c022484a4220f8
zfec/zfec/fec.c
patch
|
blob
|
history
diff --git
a/zfec/zfec/fec.c
b/zfec/zfec/fec.c
index 84f4645d1263f95f0272db543912b922f5403244..e2205469d8b82949eff567142cad1c6335fe4f2e 100644
(file)
--- a/
zfec/zfec/fec.c
+++ b/
zfec/zfec/fec.c
@@
-473,7
+473,7
@@
fec_new(unsigned k, unsigned n) {
/* To make sure that we stay within cache in the inner loops of fec_encode()
and fec_decode(). */
-#define STRIDE
1024
+#define STRIDE
8192
void
fec_encode(const fec_t* code, const gf*restrict const*restrict const src, gf*restrict const*restrict const fecs, const unsigned*restrict const block_nums, size_t num_block_nums, size_t sz) {