Commit 97d956b
authored
Improve windows mmap block performance (#264)
I noticed that the write performance was very poor on Windows when
running bb_worker. Specifically during the initial fetch of all of the
blobs from the CAS, bb_worker was spending a lot of time stuck in the
WriteAt function. Writing via the memory map reduced this back down to
almost nothing.1 parent 89b9202 commit 97d956b
1 file changed
Lines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
100 | 88 | | |
101 | 89 | | |
102 | 90 | | |
| |||
0 commit comments