Skip to content
Snippets Groups Projects
Commit 21c13328 authored by hjk's avatar hjk
Browse files

Add a gdb patch increasing the

Roundtrips are more expensive then plain data transfer. So fetch larger
chunks and hope there will be fewer. Works well in practice.
parent 337f3eef
No related branches found
No related tags found
No related merge requests found
diff --git a/gdb/dcache.c b/gdb/dcache.c
index e1386e0..65b1a02 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -76,7 +76,7 @@
/* The size of a cache line. Smaller values reduce the time taken to
read a single byte and make the cache more granular, but increase
overhead and reduce the effectiveness of the cache as a prefetcher. */
-#define LINE_SIZE_POWER 6
+#define LINE_SIZE_POWER 8
#define LINE_SIZE (1 << LINE_SIZE_POWER)
/* Each cache block holds LINE_SIZE bytes of data
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment