forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5aa29e8
committed
Arrange to align shared disk buffers on at least 32-byte boundaries,
not just MAXALIGN boundaries. This makes a noticeable difference inthe speed of transfers to and from kernel space, at least on recentPentiums, and might help other CPUs too. We should look at makingthis happen for local buffers and buffile.c too. Patch from Manfred Spraul.1 parent11b274f commit5aa29e8
3 files changed
+24
-6
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
| 134 | + | |
134 | 135 |
| |
135 | 136 |
| |
136 | 137 |
| |
| |||
146 | 147 |
| |
147 | 148 |
| |
148 | 149 |
| |
149 |
| - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
150 | 157 |
| |
151 | 158 |
| |
152 |
| - | |
| 159 | + | |
153 | 160 |
| |
154 | 161 |
| |
155 | 162 |
| |
|
Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
522 | 522 |
| |
523 | 523 |
| |
524 | 524 |
| |
525 |
| - | |
| 525 | + | |
| 526 | + | |
526 | 527 |
| |
527 | 528 |
| |
528 | 529 |
| |
529 | 530 |
| |
530 | 531 |
| |
531 | 532 |
| |
| 533 | + | |
| 534 | + | |
532 | 535 |
| |
533 | 536 |
| |
534 | 537 |
| |
|
Lines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
129 | 137 |
| |
130 | 138 |
| |
131 | 139 |
| |
|
0 commit comments
Comments
(0)