diff options
author | mav <mav@FreeBSD.org> | 2014-06-22 21:19:19 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2014-06-22 21:19:19 +0000 |
commit | c8436ca653b5b865a635c0c2e11757862ab7b1fe (patch) | |
tree | 5f76bd6e9ad4b9113745b1feadf3df5475893f1e /sys | |
parent | d2e570bf14cdc6de0348d6a29f0036bbce1f0a57 (diff) | |
download | FreeBSD-src-c8436ca653b5b865a635c0c2e11757862ab7b1fe.zip FreeBSD-src-c8436ca653b5b865a635c0c2e11757862ab7b1fe.tar.gz |
MFC r267391:
Introduce new "256 Bucket" zone to split requests and reduce congestion
on "128 Bucket" zone lock.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/uma_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index 8ff5826..0c28c18 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -205,7 +205,7 @@ struct uma_bucket_zone { #define BUCKET_SIZE(n) \ (((sizeof(void *) * (n)) - sizeof(struct uma_bucket)) / sizeof(void *)) -#define BUCKET_MAX BUCKET_SIZE(128) +#define BUCKET_MAX BUCKET_SIZE(256) struct uma_bucket_zone bucket_zones[] = { { NULL, "4 Bucket", BUCKET_SIZE(4), 4096 }, @@ -216,6 +216,7 @@ struct uma_bucket_zone bucket_zones[] = { { NULL, "32 Bucket", BUCKET_SIZE(32), 512 }, { NULL, "64 Bucket", BUCKET_SIZE(64), 256 }, { NULL, "128 Bucket", BUCKET_SIZE(128), 128 }, + { NULL, "256 Bucket", BUCKET_SIZE(256), 64 }, { NULL, NULL, 0} }; |