Commit 3030fd4
committed
io-wq: remove spin-for-work optimization
Andres reports that buffered IO seems to suck up more cycles than we
would like, and he narrowed it down to the fact that the io-wq workers
will briefly spin for more work on completion of a work item. This was
a win on the networking side, but apparently some other cases take a
hit because of it. Remove the optimization to avoid burning more CPU
than we have to for disk IO.
Reported-by: Andres Freund <andres@anarazel.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent bdcd3ea commit 3030fd4
1 file changed
Lines changed: 0 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | 538 | | |
552 | 539 | | |
553 | 540 | | |
554 | 541 | | |
555 | 542 | | |
556 | | - | |
557 | 543 | | |
558 | 544 | | |
559 | 545 | | |
560 | | - | |
561 | 546 | | |
562 | 547 | | |
563 | 548 | | |
564 | | - | |
565 | | - | |
566 | 549 | | |
567 | 550 | | |
568 | 551 | | |
569 | 552 | | |
570 | | - | |
571 | 553 | | |
572 | 554 | | |
573 | | - | |
574 | 555 | | |
575 | 556 | | |
576 | 557 | | |
| |||
0 commit comments