diff options
author | Bryan Cantrill <bryan@joyent.com> | 2012-05-16 07:10:05 +0000 |
---|---|---|
committer | Bryan Cantrill <bryan@joyent.com> | 2012-05-16 07:18:30 +0000 |
commit | 1e6428eb33d7aa271da847a61ea2197f665b77f9 (patch) | |
tree | 148a7d06d26a9cb0527bb403c841a8b697121c7f | |
parent | ccef127ed85cd5406dc747b0a4f0117175237053 (diff) | |
download | illumos-joyent-1e6428eb33d7aa271da847a61ea2197f665b77f9.tar.gz |
OS-1187 svc.startd should reduce footprint by setting "nomagazines"
-rw-r--r-- | usr/src/cmd/svc/startd/startd.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/src/cmd/svc/startd/startd.c b/usr/src/cmd/svc/startd/startd.c index a117cc48c8..14180c5f54 100644 --- a/usr/src/cmd/svc/startd/startd.c +++ b/usr/src/cmd/svc/startd/startd.c @@ -158,6 +158,18 @@ _umem_logging_init(void) } #endif +const char * +_umem_options_init(void) +{ + /* + * To reduce our memory footprint, we set our UMEM_OPTIONS to indicate + * that we do not wish to have per-CPU magazines -- if svc.startd is so + * hot on CPU such that this becomes a scalability problem, there are + * likely deeper things amiss... + */ + return ("nomagazines"); /* UMEM_OPTIONS setting */ +} + /* * startd_alloc_retry() * Wrapper for allocation functions. Retries with a decaying time |