Live data from Hacker News

Why did moving the mouse cursor cause Windows 95 to run more quickly?

retrocomputing.stackexchange.com

51–60 of 201 posts

Re: Why did moving the mouse cursor cause Windows 95 to run more quickly?

#51
post #8

Reminds me of https://devblogs.microsoft.com/oldnewthing/?p=32233

Raymond Chen's blog is always a great source of interesting information.

But I remember the times when that blog didn't look like a webdesign internship project in progress. And there were interesting comments…

Re: Why did moving the mouse cursor cause Windows 95 to run more quickly?

#52

This wasn't just restricted to COM port based I/O either. Back then I had a Logitech bus mouse. The mouse was connected directly to an ISA card, and didn't use the COM ports as most mice did back then. (I needed the extra COM port/IRQ for my modems.) I too witnessed the 'windows is running slow when installing' bug. I often would use the mouse cursor to 'mark' the position of the loading bar (we really are spoiled fo…

> I often would use the mouse cursor to 'mark' the position of the loading bar (we really are spoiled for speed these days).

This is just me, oh my gosh. I thought I was the only one who did that. But now I come to think about it, it can't be true.

It has been a really long time since I used that technique last time...

Re: Why did moving the mouse cursor cause Windows 95 to run more quickly?

#53

This wasn't just restricted to COM port based I/O either. Back then I had a Logitech bus mouse. The mouse was connected directly to an ISA card, and didn't use the COM ports as most mice did back then. (I needed the extra COM port/IRQ for my modems.) I too witnessed the 'windows is running slow when installing' bug. I often would use the mouse cursor to 'mark' the position of the loading bar (we really are spoiled fo…

> I often would use the mouse cursor to 'mark' the position of the loading bar (we really are spoiled for speed these days). This is just me, oh my gosh. I thought I was the only one who did that. But now I come to think about it, it can't be true. It has been a really long time since I used that technique last time...

What ? I still do that at least once a week/month.

Last time it was for the linux dropbox updater, last week.

I am also a fan of using another window so I can use the mouse and still have a marker to monitor progress.

Re: Why did moving the mouse cursor cause Windows 95 to run more quickly?

#54

Earlier quoted context omitted.

> I often would use the mouse cursor to 'mark' the position of the loading bar (we really are spoiled for speed these days). This is just me, oh my gosh. I thought I was the only one who did that. But now I come to think about it, it can't be true. It has been a really long time since I used that technique last time...

What ? I still do that at least once a week/month. Last time it was for the linux dropbox updater, last week. I am also a fan of using another window so I can use the mouse and still have a marker to monitor progress.

Today everything goes so fast that it's faster to kill and restart if it's not visibly moving, IMHO

Re: Why did moving the mouse cursor cause Windows 95 to run more quickly?

#55
post #28

It's this bit of code: while(GetMessage(&msg, NULL, 0, 0) > 0) { TranslateMessage(&msg); DispatchMessage(&msg); } The mouse isr would cause a loop like this to execute at some point, processing all the messages on the queue. Win95 had preemption, but it ran at 100hz. Moving the mouse caused additional queue processing on top of the time sliced preemption.

At that time, it was more like the 75mhz range.

Note he said 100hz not mhz. Essentially 100 times per second the message queue would process but if you moved the mouse it would process faster.

Re: Why did moving the mouse cursor cause Windows 95 to run more quickly?

#56

So in today's world... why do so many PCs emit a slight sound when moving the mouse. I know that there are high frequencies involved and periphery is one of the worst perpetrators of electromagnetic interference, but I still find that strange. And what exactly is emitting the sound here?

I'd have to guess the CPU - it gets hammered with interrupts and its load changes. But it could be anything really...

Don't USB mice use polling rather than interrupts?

Re: Why did moving the mouse cursor cause Windows 95 to run more quickly?

#57

Earlier quoted context omitted.

> I often would use the mouse cursor to 'mark' the position of the loading bar (we really are spoiled for speed these days). This is just me, oh my gosh. I thought I was the only one who did that. But now I come to think about it, it can't be true. It has been a really long time since I used that technique last time...

What ? I still do that at least once a week/month. Last time it was for the linux dropbox updater, last week. I am also a fan of using another window so I can use the mouse and still have a marker to monitor progress.

I guess what has changed is me, not the computing environment. When I was young, I easily grew impatient when things were going slow. Nowadays I still kinda feel nervous, but not to the point to warrant such bookkeeping methods.

Re: Why did moving the mouse cursor cause Windows 95 to run more quickly?

#58

This wasn't just restricted to COM port based I/O either. Back then I had a Logitech bus mouse. The mouse was connected directly to an ISA card, and didn't use the COM ports as most mice did back then. (I needed the extra COM port/IRQ for my modems.) I too witnessed the 'windows is running slow when installing' bug. I often would use the mouse cursor to 'mark' the position of the loading bar (we really are spoiled fo…

Get off my lawn! But what newbies will bever know the heck of: dip switch settings for IRQ for modems. Thats what literally got me into computers... In order to dial up BBSs and play tthe Pit and dl warez. —- Ive told this story before, but in about 1992? Or so - i got grounded for a month because i had been calling in long distance to a bbs in san jose to play the pit - and racked up a long distance bill of $926 - m…

Same here, except it was San Jose to San Jose. However still had a bill because I was in Zone 1 and the BBS was in Zone 3 (phone book tells you which zone) So.. charges. Dad wasn't mad, I think he realized I was going to get a job in the field.

Re: Why did moving the mouse cursor cause Windows 95 to run more quickly?

#59

This wasn't just restricted to COM port based I/O either. Back then I had a Logitech bus mouse. The mouse was connected directly to an ISA card, and didn't use the COM ports as most mice did back then. (I needed the extra COM port/IRQ for my modems.) I too witnessed the 'windows is running slow when installing' bug. I often would use the mouse cursor to 'mark' the position of the loading bar (we really are spoiled fo…

>I too witnessed the 'windows is running slow when installing' bug. I often would use the mouse cursor to 'mark' the position of the loading bar (we really are spoiled for speed these days).

Most software doesn't feel any faster compared to Windows 95 (see Wirth's law). Also most shitware does not display a loading bar anymore, instead you get some spinning stuff that's just an animation.

Re: Why did moving the mouse cursor cause Windows 95 to run more quickly?

#60

Earlier quoted context omitted.

While running emacs over a modem to arpanet or dialup, I got into the habit of regularly typing ^A ^E to pace my cursor back and forth across the current line, to keep the connection and emacs warm. (Like a caged leopard or mad scientist pacing back and forth.) I could feel how responsive the connection and emacs were over time by the delay between typing and seeing the cursor move. Both the network and emacs contrib…

> While running Emacs over a modem, I got into the habit of regularly typing ^A ^E to pace my cursor back and forth across the current line, to keep connection warm. Huh. I got into that habit recently , because over the past year, I've been frequently working on the go, by SSH-ing to my home desktop and using Emacs terminal frame (emacsclient -t)[0]. I do regular "weather checks" with ^A and ^E - because the hardwar…

And you're continuously sampling the weather with every keystroke, not just when you're typing ^A ^E while you're thinking or spacing out.

After a million or so keystrokes and feedback delays, your brain can't help but build a model of what it means.

Post reply on HN