News for hackers. Stuff that matters.
Re:Nvidia Unveils GeForce RTX 30 Series GPUs by YarickR2 on Tuesday September 01, 2020 @05:31PM (#24347331)
And what about IO ? What will you do when everything is stuck waiting for that spinning rust to position itself under the drive head ?
Re:Nvidia Unveils GeForce RTX 30 Series GPUs by jacquesm on Tuesday September 01, 2020 @05:35PM (#24347378)
That's just another user process. So everything else will continue. You have to let go of your macro kernel mindset if you want to make sense of the timing in a micro kernel environment. Blocking threads is fine. Just make sure that you don't do that sort of stuff in your UI thread and you won't even realize there is such a thing as disk or network IO.

Mouse, keyboard, screen. Those are the things that should run at high priority. Everything else can - quite literally - wait.

Re:Nvidia Unveils GeForce RTX 30 Series GPUs by leguminous on Tuesday September 01, 2020 @05:53PM (#24347558)
> Mouse, keyboard, screen. Those are the things that should run at high priority. Everything else can - quite literally - wait.

I might add audio to this list.

Re:Nvidia Unveils GeForce RTX 30 Series GPUs by jacquesm on Tuesday September 01, 2020 @05:59PM (#24347629)
Ah yes, of course. Sorry, I wasn't thinking clearly, just had the usual UI loop and regular interaction with a computer in mind, you are 100% right, audio should have a very high priority. Nothing more annoying than dropouts. Incidentally, the way most OSs deal with that is by having very large audio buffers which in turn will give you terrible latency. On a hard real time OS you could reduce the size of those buffers quite a bit because you can guarantee they are filled (and emptied) regularly.
Re:Nvidia Unveils GeForce RTX 30 Series GPUs by amluto on Wednesday September 02, 2020 @12:55AM (#24350087)
This is not straightforwardly true. Using small buffers and real-time scheduling works, but it gives terrible power efficiency on a modern high-performance CPU. What you actually want is a scheme with large buffers that can throw out those buffers if something requiring low latency happens.
Re:Nvidia Unveils GeForce RTX 30 Series GPUs by snovv_crash on Wednesday September 02, 2020 @06:45AM (#24351901)
A lot of usecases require the audio to be low latency all the time. And I don't just mean professional recording studios or musicians, super mainstream things like gaming (especially VR) are way more immersive with low latency audio.
Re:Nvidia Unveils GeForce RTX 30 Series GPUs by jacquesm on Wednesday September 02, 2020 @12:33PM (#24354882)
And video conferencing also gets a lot easier, echo cancellation is so hard when you have a lot of data in flight because you will have to do auto correlation on a much larger amount of data.
Re:Nvidia Unveils GeForce RTX 30 Series GPUs by amluto on Wednesday September 02, 2020 @07:39PM (#24359455)
Video conferencing also fundamentally wants low latency.

Listening to music, on the other hand, does not require low latency except in response to user input.

Re:Nvidia Unveils GeForce RTX 30 Series GPUs by YarickR2 on Tuesday September 01, 2020 @07:14PM (#24348214)
Well, consider search-as-you-type - you're typing, this goes into some kind of a query into a database. How should the whole UI react ? Display entered text, without updating search results ? Reflow it with best match when results arrive ?
Re:Nvidia Unveils GeForce RTX 30 Series GPUs by jacquesm on Wednesday September 02, 2020 @12:34PM (#24354901)
Those are two different processes. The display of the field should be high priority, the lookup should be at least one priority lower.