You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regenerate remove_default_chunk_size.patch for current version, add a note at the top to not use without changing your usage patterns as well, otherwise significant loss of performance. Probably is not ready for use at all yet, still needs some work on performance issues.
- 10 : BackgroundIOPriority(.0100, _SIZE_MEG * .25, 20), # Least throughput, most interactivity, very little throughput
97
+
+ 1 : BackgroundIOPriority(.0009, 100), # Maximum throughput, no regard for interactivity.
98
+
+ 2 : BackgroundIOPriority(.0009, 90),
99
+
+ 3 : BackgroundIOPriority(.0015, 78),
100
+
+ 4 : BackgroundIOPriority(.0015, 72),
101
+
+ 5 : BackgroundIOPriority(.0019, 65),
102
+
+ 6 : BackgroundIOPriority(.0019, 55),
103
+
+ 7 : BackgroundIOPriority(.0024, 45),
104
+
+ 8 : BackgroundIOPriority(.0024, 35),
105
+
+ 9 : BackgroundIOPriority(.0031, 30),
106
+
+ 10 : BackgroundIOPriority(.0100, 20), # Least throughput, most interactivity, very little throughput
107
107
}
108
108
109
109
110
-
@@ -157,7 +150,7 @@ class BackgroundWriteProcess(threading.Thread):
110
+
@@ -165,7 +159,7 @@ class BackgroundWriteProcess(threading.Thread):
111
111
'''
112
112
# Design question: What about errors?
113
113
@@ -116,7 +116,7 @@ index efb15ea..26932e3 100644
116
116
'''
117
117
__init__ - Create the BackgroundWriteProcess thread. You should probably use bgwrite or bgwrite_chunk instead of calling this directly.
118
118
119
-
@@ -171,6 +164,12 @@ class BackgroundWriteProcess(threading.Thread):
119
+
@@ -179,6 +173,12 @@ class BackgroundWriteProcess(threading.Thread):
120
120
121
121
@param ioPrio <int/BackgroundIOPriority> - If an integer (1-10), a predefined BackgroundIOPriority will be used. 1 is highest throughput, 10 is most interactivity. You can also pass in your own BackgroundIOPriority object if you want to define a custom profile.
122
122
@@ -129,7 +129,7 @@ index efb15ea..26932e3 100644
129
129
130
130
@raises ValueError - If ioPrio is neither a BackgroundIOPriority nor integer 1-10 inclusive
131
131
- If chainAfter is not a BackgroundWriteProcess or None
132
-
@@ -187,7 +186,8 @@ class BackgroundWriteProcess(threading.Thread):
132
+
@@ -195,7 +195,8 @@ class BackgroundWriteProcess(threading.Thread):
0 commit comments