Remove CPU pinning flags that measured slower than the scheduler
This commit is contained in:
@@ -19,14 +19,11 @@ type txWorker struct {
|
||||
stream uint16
|
||||
spec *frameSpec
|
||||
batch int
|
||||
cpu int
|
||||
stats *txStats
|
||||
startTx <-chan struct{}
|
||||
}
|
||||
|
||||
func (w *txWorker) run(done *atomic.Bool) {
|
||||
pinTo(w.cpu)
|
||||
|
||||
bufs := make([][]byte, w.batch)
|
||||
for i := range bufs {
|
||||
bufs[i] = make([]byte, w.spec.maxSize)
|
||||
|
||||
Reference in New Issue
Block a user