[dorkbotpdx-blabber] mac process priority, is "real time" possible

Paul Stoffregen paul at pjrc.com
Mon Jul 6 21:06:53 EDT 2009


Does anyone know a way to run a process from the mac Terminal with 
real-time (or very high) process scheduling priority?

I'm testing bandwidth of some new USB code and on the mac I get somewhat 
lower speed than on linux.  Here's the command I'm using:

cat /dev/cu.usbmodem12341 > test.txt

My test just sends a string repetitively, as fast as it can for 10 
seconds.  After it's done the file size shows how fast it was able to 
send.  I'm still trying to figure out why I'm not getting the maximum 
speed and why it's lower and not very consistent on macos compared to linux.


-Paul


More information about the dorkbotpdx-blabber mailing list