On 02/18/2014 09:39 PM, Phil Dibowitz wrote: > Setting the priority to SCHED_RR and 99 helps a bit, we typically get a lot > further than 18%. We then mostly die in timeouts, but still occasionally have > a missing packet for some reason or another. I bumped the timeout all the way > up to 15 seconds, and even still we hit timeouts most of the time now. Which > again, I don't buy.... > > I... don't get it.
Hmm. Once I dropped all the debug logging, setting the priority actually seems to solve the problem quite well. I've dropped the queue back down to 30, rebooted a few times, done several tests. I'll do more tests, but this seems to make a big difference. In fact, if I take that code back it out, it fails reliably, and if I put it back in, it succeeds reliably. So I think we have a winner! Now to see if hidapi will accept such a crazy patch. :) -- Phil Dibowitz p...@ipom.com Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind." - Dr. Seuss
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel