The only deterrent the pirates seem to understand is BIGGER GUNS... and even then I read that they may challenge those.
The pirates have shot at USN vessels, and tried to board one a while back... uh, they were very very unsuccessful.