Re:Nvidia Unveils GeForce RTX 30 Series GPUs
by qppo on Tuesday September 01, 2020 @05:24PM
(#24347254)
I think most things are trending that direction, even in soft/non real-time. How fast can an interrupt respond these days anyway, a dozen microseconds?
[ Parent
| on HN ]
Re:Nvidia Unveils GeForce RTX 30 Series GPUs
by ianhowson on Tuesday September 01, 2020 @05:30PM
(#24347318)
Nanoseconds if you can respond inside the interrupt handler ('top half' in Linux.) Microseconds to milliseconds with significant variability if you need to be scheduled ('bottom half'.)
Re:Nvidia Unveils GeForce RTX 30 Series GPUs
by jacquesm on Tuesday September 01, 2020 @05:41PM
(#24347440)
And that only if your codepath is deterministic. Linux can do pretty funny stuff at times.
I've run a plasma cutter under Linux on a run-of-the-mill VIA SBC, it was actually pretty easy: just make a program setuid root, use that to disable interrupts after you've read all your data in and then just go wild on polled and precision timed IO until you're done. Re-enable interrupts and return as if nothing ever happened.