summaryrefslogtreecommitdiffstats
path: root/sys/modules/geom
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-10-06 08:27:07 +0000
committerru <ru@FreeBSD.org>2006-10-06 08:27:07 +0000
commitf53bc81fe169bef4ef8c092ae4fb83ecbf273534 (patch)
treea465af6108d1b06ba42e96d53c46a61f292f6d7f /sys/modules/geom
parent209fbeff019d13050913ea08ec726192dabf87b6 (diff)
downloadFreeBSD-src-f53bc81fe169bef4ef8c092ae4fb83ecbf273534.zip
FreeBSD-src-f53bc81fe169bef4ef8c092ae4fb83ecbf273534.tar.gz
A GEOM cache can speed up read performance by sending fixed size
read requests to its consumer. It has been developed to address the problem of a horrible read performance of a 64k blocksize FS residing on a RAID3 array with 8 data components, where a single disk component would only get 8k read requests, thus effectively killing disk performance under high load. Documentation will be provided later. I'd like to thank Vsevolod Lobko for his bright ideas, and Pawel Jakub Dawidek for helping me fix the nasty bug.
Diffstat (limited to 'sys/modules/geom')
-rw-r--r--sys/modules/geom/Makefile1
-rw-r--r--sys/modules/geom/geom_cache/Makefile8
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/modules/geom/Makefile b/sys/modules/geom/Makefile
index cf99e37..d509105 100644
--- a/sys/modules/geom/Makefile
+++ b/sys/modules/geom/Makefile
@@ -3,6 +3,7 @@
SUBDIR= geom_apple \
geom_bde \
geom_bsd \
+ geom_cache \
geom_ccd \
geom_concat \
geom_eli \
diff --git a/sys/modules/geom/geom_cache/Makefile b/sys/modules/geom/geom_cache/Makefile
new file mode 100644
index 0000000..7ccbe98
--- /dev/null
+++ b/sys/modules/geom/geom_cache/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../geom/cache
+
+KMOD= geom_cache
+SRCS= g_cache.c
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud