public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Slow down when keypressed?
@ 2001-05-01  9:41 Matthias Braun
  2001-05-17 14:41 ` Randall R Schulz
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Braun @ 2001-05-01  9:41 UTC (permalink / raw)
  To: cygwin

Hello,
I looked in the faq and ml archives for that but I couldnt find anything.
I'm running windows 98 and latest cygwin net release. The problem is when
i hold a key down in cygwin, all console apps slow down dramatically, for
example I hold the page down key in vi and I can watch the lines falling
on my screen (cpu load about 99%), if I release the key, vi scrolls fast
as ever...

I think it's not a cygwin problem but a win98 one, because some other
win32 console apps (especially the half-life dedicated server) show the
same behaviour, thats not only on mine machine, but on all win98 machines
I tried (friends, at school). I wonder if this problem really isn't known,
or where is a solution for it.

	Matze



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Slow down when keypressed?
  2001-05-01  9:41 Slow down when keypressed? Matthias Braun
@ 2001-05-17 14:41 ` Randall R Schulz
  0 siblings, 0 replies; 2+ messages in thread
From: Randall R Schulz @ 2001-05-17 14:41 UTC (permalink / raw)
  To: Matthias Braun, cygwin

Matthias,

Are you getting any error "dings" or "beeps" through your sound card (as 
opposed to the built in waveform generator and speaker)?

I've noticed that in some circumstances sampled audio output generated by 
console applications can introduce large delays and slow-downs either 
because of their intrinsic CPU requirements or because the execution thread 
that triggered the beep waits synchronously for the audio to complete, 
thereby interrupting its primary function (in this case displaying 
subsequent pages of the internal console scroll-back buffer).

In fact, overflowing the keyboard input buffer generates beeps, too, and 
that itself could create a steady stream of sound play requests as more 
unsavable keystrokes come in under keyboard auto-repeat.

Another thing to consider is how much the main CPU is called upon to scroll 
the screen and to paint characters. Perhaps your video card doesn't give 
the system CPU sufficient support and the paging itself (basically just 
erasing and painting characters as fast as possible).

Randall Schulz
Mountain View, CA USA


At 10:57 2001-05-01, Matthias Braun wrote:
>Hello,
>I looked in the faq and ml archives for that but I couldnt find anything.
>I'm running windows 98 and latest cygwin net release. The problem is when
>i hold a key down in cygwin, all console apps slow down dramatically, for
>example I hold the page down key in vi and I can watch the lines falling
>on my screen (cpu load about 99%), if I release the key, vi scrolls fast
>as ever...
>
>I think it's not a cygwin problem but a win98 one, because some other
>win32 console apps (especially the half-life dedicated server) show the
>same behaviour, thats not only on mine machine, but on all win98 machines
>I tried (friends, at school). I wonder if this problem really isn't known,
>or where is a solution for it.
>
>         Matze


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-17 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-01  9:41 Slow down when keypressed? Matthias Braun
2001-05-17 14:41 ` Randall R Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).