RE: High CPU editing large package
Andre Vergison <[email protected]>
| Newsgroups | gmane.comp.db.oracle.toad.free |
|---|---|
| Message-ID | <[email protected]> |
No assumptions. We should not steal cores, only idle time should be stolen. Idle time is waste. We just steal waste. On a six core probably more idle time is available than on a single core, so more background work can be done. This is controlled by thread priorities. The challenge is to make sure the user doesn’t notice it at all. Toad might need tuning, let’s evaluate the user feedback. And in the meantime I’m gonna dig up an old Pentium and test run Toad on it. ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Bert Scalzo Sent: woensdag 5 oktober 2011 16:30 To: [email protected] Subject: [toad] RE: High CPU editing large package Be careful not to make some assumptions here – I have a dual core with hyperthreading on my notebook – so effectively four logical cores – but my anti-virus runs in background as well as my disk defrag and other utilities – you cannot assume since I have N cores that you can steal one – they are already spoken for for many users and so we need to consume our fair share From: [email protected] [mailto:[email protected]] On Behalf Of Andre Vergison Sent: Wednesday, October 05, 2011 8:41 AM To: [email protected] Subject: [toad] RE: High CPU editing large package Med, There’s nothing wrong with having 100% cpu time as long as you don’t get aware of it. Over time we’ll sure use all your cpu cores more and more in the background for (hopefully) useful work. On a single core there might perhaps be a minimal discomfort, on multi cores you shouldn’t notice it at all. What cpu does your machine have? Thanks, Andre ________________________________ From: [email protected]<mailto:[email protected]> [mailto:[email protected]]<mailto:%5bmailto:[email protected]%5d> On Behalf Of Michael Staszewski Sent: woensdag 5 oktober 2011 15:30 To: [email protected]<mailto:[email protected]> Subject: [toad] RE: High CPU editing large package Does the CPU stop pegging when you stop typing? If so, approximately how long after you stop typing does the CPU return to normal? If you have the option Options|Editor|Code Assist|"Check syntax as you type" enabled disable it and try again. Does that make a difference? > It seems that the hole package is scanned when a key is pressed It is, but only after a delay. I believe the delay is 500ms. When you pause the Editor parses the file so that the navigator remains up to date and so that any other features requiring parser results can execute with minimal delay. This process runs in a low priority background thread and aborts when you resume typing. When your CPU is pegged is Toad unresponsive? Michael _____________________________________________ From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Finn Jalsøe Sent: Wednesday, October 05, 2011 2:47 AM To: [email protected]<mailto:[email protected]> Subject: [toad] High CPU editing large package Hi there, Found a problem in Toad 11.0.0.116: When editing a large packagebody (+6500 lines) the cpu spikes at nearly 100% at EVERY keystroke. (It seems that the hole package is scanned when a key is pressed ???) I have tried to disable ”Check Code Analysis Rules as you type” and ”Code Insight” but this didn’t help Any idea of what to disable ??? This problem wasn’t in 10.6 Med venlig hilsen Finn Jalsøe BK-IT Bladkompagniet A/S • Islevdalvej 205 • DK-2610 Rødovre Tlf: 7020 7225 • Dir. 4451 7171 • Email: [email protected]<mailto:[email protected]>