forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0265e5c
committed
ci: Use a RAM disk and more CPUs on FreeBSD.
Run the tests in a RAM disk. It's still a UFS file system and is backedby 20GB of disk, but this avoids a lot of I/O. Even though we disablefsync, our tests do a lot of directory manipulations, some of whichforce file system meta-data to disk and flush slow device write cacheson UFS. This was a bottleneck preventing effective scaling beyond 2CPUs.Now we can use 4 CPUs like on other OSes, for a huge speedup.Reviewed-by: Maxim Orlov <orlovmg@gmail.com>Discussion:https://postgr.es/m/CA%2BhUKG%2BFXLcEg1dyTqJjDiNQ8pGom4KrJj4wF38C90thti9dVA%40mail.gmail.com1 parent77cf6a7 commit0265e5c
2 files changed
+14
-18
lines changedLines changed: 3 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
134 | 132 |
| |
135 | 133 |
| |
136 | 134 |
| |
|
Lines changed: 11 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 | 6 |
| |
13 | 7 |
| |
14 | 8 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
18 | 12 |
| |
19 |
| - | |
| 13 | + | |
20 | 14 |
| |
21 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
22 | 20 |
| |
23 |
| - | |
| 21 | + | |
24 | 22 |
| |
25 | 23 |
| |
26 | 24 |
| |
27 |
| - | |
| 25 | + | |
28 | 26 |
|
0 commit comments
Comments
(0)