#!/bin/sh case $1 in start) setpci -v -s "*:*.*" latency_timer=b0 # Update this one with the device you want to optimize setpci -v -s 04:01.0 latency_timer=ff esac exit 0