svn commit: r206669 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Apr 15 17:04:08 UTC 2010
Author: pjd
Date: Thu Apr 15 17:04:08 2010
New Revision: 206669
URL: http://svn.freebsd.org/changeset/base/206669
Log:
Increase ggate queue size to maximum value.
HAST was not able to stand heavy random load.
Reported by: Hiroyuki Yamagami
MFC after: 3 days
Modified:
head/sbin/hastd/primary.c
Modified: head/sbin/hastd/primary.c
==============================================================================
--- head/sbin/hastd/primary.c Thu Apr 15 16:43:43 2010 (r206668)
+++ head/sbin/hastd/primary.c Thu Apr 15 17:04:08 2010 (r206669)
@@ -682,7 +682,7 @@ init_ggate(struct hast_resource *res)
ggiocreate.gctl_mediasize = res->hr_datasize;
ggiocreate.gctl_sectorsize = res->hr_local_sectorsize;
ggiocreate.gctl_flags = 0;
- ggiocreate.gctl_maxcount = 128;
+ ggiocreate.gctl_maxcount = G_GATE_MAX_QUEUE_SIZE;
ggiocreate.gctl_timeout = 0;
ggiocreate.gctl_unit = G_GATE_NAME_GIVEN;
snprintf(ggiocreate.gctl_name, sizeof(ggiocreate.gctl_name), "hast/%s",
More information about the svn-src-head
mailing list