All pastes #1168 Raw Edit

kevin

public text v1 · immutable
#1168 ·published 2004-09-29 09:48 UTC
rendered paste body
#!/sbin/runscript

start() {
        ebegin "Tuning PCI bus latency timers"

        #
        #       open up the PCI bus by allowing fairly long bursts for all
        #       devices, increasing performance
        #
        setpci -s *:* latency_timer=80 >/dev/null

        #
        #       maximise latency times for network and comms, allowing them
        #       to transmit more data per burst and preventing buffer
        #       over/underrun conditions
        #
        setpci -s 00:09.0 latency_timer=FF >/dev/null   # X101P (Tigerjet)
        setpci -s 00:0a.0 latency_timer=FF >/dev/null   # 3Com 3c980-C - 10/100
        setpci -s 00:02.0 latency_timer=FF >/dev/null   # AMD 79c970 - 10/100
        eend 0
}