Live data from Hacker News

24-core CPU and I can’t move my mouse (2017)

randomascii.wordpress.com

1–10 of 255 posts

Re: 24-core CPU and I can’t move my mouse (2017)

#3

Moving the mouse is the worst case scenario for a deep multicore processor because (1) it is a single-threaded latency sensitive task, (2) there are 23 other cores that can grab a lock and prevent the 1 core that matters from doing its job in a timely manner.

So the 23 cores are there only to starve the 24th ? Sounds almost human.

Re: 24-core CPU and I can’t move my mouse (2017)

#4

Moving the mouse is the worst case scenario for a deep multicore processor because (1) it is a single-threaded latency sensitive task, (2) there are 23 other cores that can grab a lock and prevent the 1 core that matters from doing its job in a timely manner.

Where are the mouse coprocessor equipped computers?

Re: 24-core CPU and I can’t move my mouse (2017)

#6

Moving the mouse is the worst case scenario for a deep multicore processor because (1) it is a single-threaded latency sensitive task, (2) there are 23 other cores that can grab a lock and prevent the 1 core that matters from doing its job in a timely manner.

With regard to latency sensitivity, with so many cores available, a single core could be dedicated to processing mouse input. Of course, if there's a lock in the way that's held, that's still a problem.

Re: 24-core CPU and I can’t move my mouse (2017)

#7
post #4

Moving the mouse is the worst case scenario for a deep multicore processor because (1) it is a single-threaded latency sensitive task, (2) there are 23 other cores that can grab a lock and prevent the 1 core that matters from doing its job in a timely manner.

Where are the mouse coprocessor equipped computers?

Hardware sprites (and presumably interrupts) made the Amiga mouse pointer move fluidly and responsively even when the CPU was busy. No complex graphics pipelines or laggy LCD screens to add further latency back then either.

Re: 24-core CPU and I can’t move my mouse (2017)

#8
post #4

Moving the mouse is the worst case scenario for a deep multicore processor because (1) it is a single-threaded latency sensitive task, (2) there are 23 other cores that can grab a lock and prevent the 1 core that matters from doing its job in a timely manner.

Where are the mouse coprocessor equipped computers?

Optical mice themselves can have quite a complicated processor onboard. Luckily the image processing isn't done on the CPU/GPU.

I wonder if anyone ever sold a "software optical mouse".

Re: 24-core CPU and I can’t move my mouse (2017)

#9
post #4

Moving the mouse is the worst case scenario for a deep multicore processor because (1) it is a single-threaded latency sensitive task, (2) there are 23 other cores that can grab a lock and prevent the 1 core that matters from doing its job in a timely manner.

Where are the mouse coprocessor equipped computers?

Mouse cursors are mostly handled in hardware. GPUs composit the cursor during scanout, so all the OS has to do is calculate the new coordinates of the cursor and tell the GPU about them.

Re: 24-core CPU and I can’t move my mouse (2017)

#10
post #4

Earlier quoted context omitted.

Where are the mouse coprocessor equipped computers?

Optical mice themselves can have quite a complicated processor onboard. Luckily the image processing isn't done on the CPU/GPU. I wonder if anyone ever sold a "software optical mouse".

> I wonder if anyone ever sold a "software optical mouse".

You could if you really want to...

https://8051enthusiast.github.io/2020/04/14/003-Stream_Video...

Post reply on HN