summaryrefslogtreecommitdiffstats
path: root/cf-fsi-test.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-03 21:57:20 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-03 21:57:20 +1000
commit5d8d096fc0db68e7f62e9ae0e24f65694e09ed41 (patch)
tree8490031103388a07c9dd49527e3be663a41da3c2 /cf-fsi-test.c
parent81b4ef545ca4888f954f47e4b23a1f9d55f576f0 (diff)
downloadcf-fsi-5d8d096fc0db68e7f62e9ae0e24f65694e09ed41.tar.gz
cf-fsi-5d8d096fc0db68e7f62e9ae0e24f65694e09ed41.zip
Use 6 for echo/send delay
seems to be the best value for performance Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-fsi-test.c')
-rw-r--r--cf-fsi-test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cf-fsi-test.c b/cf-fsi-test.c
index d27074e..65c240c 100644
--- a/cf-fsi-test.c
+++ b/cf-fsi-test.c
@@ -659,7 +659,9 @@ int main(int argc, char *argv[])
dump_stuff();
printf("old smode: %08x\n", val);
-#define ECHO_SEND_DELAY 2
+ /* 6 seems to be the "sweet spot" for performance */
+#define ECHO_SEND_DELAY 6
+
/* Change it to 2,2 */
val = FSI_SMODE_WSC | FSI_SMODE_ECRC
| fsi_smode_echodly(ECHO_SEND_DELAY - 1)
OpenPOWER on IntegriCloud