Blame SOURCES/0001-mieq-Bump-default-queue-size-to-512.patch

70130e
From 2d554ab4874943a6b73132ba84835586011f2b45 Mon Sep 17 00:00:00 2001
70130e
From: Adam Jackson <ajax@redhat.com>
70130e
Date: Fri, 30 Nov 2012 13:50:40 -0500
70130e
Subject: [PATCH] mieq: Bump default queue size to 512
70130e
70130e
Based on some bugzilla scraping just now.  Of xserver bugs with
70130e
attachments, the distribution looks like:
70130e
70130e
String                      | Matches
70130e
-------------------------------------
70130e
Increasing EQ size to 512   | 460
70130e
Increasing EQ size to 1024  | 52
70130e
Increasing EQ size to 2048  | 6
70130e
Increasing EQ size to 4096  | 0
70130e
70130e
Most of the "512" ones appear to be mostly harmless, some relatively
70130e
expensive path in either rendering or resource destruction simply taking
70130e
too long due to external pressures like paging or CPU contention.  So
70130e
let's raise the initial queue size, both to reduce the number of
70130e
spurious abrt reports and to drop fewer events in all but the most
70130e
pathological cases.
70130e
70130e
Signed-off-by: Adam Jackson <ajax@redhat.com>
70130e
---
70130e
 mi/mieq.c | 2 +-
70130e
 1 file changed, 1 insertion(+), 1 deletion(-)
70130e
70130e
diff --git a/mi/mieq.c b/mi/mieq.c
70130e
index b2c7769..c1d845b 100644
70130e
--- a/mi/mieq.c
70130e
+++ b/mi/mieq.c
70130e
@@ -60,7 +60,7 @@ in this Software without prior written authorization from The Open Group.
70130e
 #endif
70130e
 
70130e
 /* Maximum size should be initial size multiplied by a power of 2 */
70130e
-#define QUEUE_INITIAL_SIZE                 256
70130e
+#define QUEUE_INITIAL_SIZE                 512
70130e
 #define QUEUE_RESERVED_SIZE                 64
70130e
 #define QUEUE_MAXIMUM_SIZE                4096
70130e
 #define QUEUE_DROP_BACKTRACE_FREQUENCY     100
70130e
-- 
70130e
1.7.11.7
70130e