my subaru has one as standard, it retards the spark when it hears knock.
but the sensors play up so a lot of people have a second one with a led display so when it hits red back off.
you need to place it on the block away from other noises eg cams.
my scoobie one is under the intercooler