-
Path: news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: " " <f...@g...SKASUJ-TO.pl>
Newsgroups: pl.comp.programming
Subject: Re: koszt zarzadzania
Date: Sat, 8 Oct 2011 05:31:34 +0000 (UTC)
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 53
Message-ID: <j6on7m$3c3$1@inews.gazeta.pl>
References: <j6nucb$eeu$1@inews.gazeta.pl> <2...@n...onet.pl>
NNTP-Posting-Host: localhost
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
X-Trace: inews.gazeta.pl 1318051894 3459 172.20.26.240 (8 Oct 2011 05:31:34 GMT)
X-Complaints-To: u...@a...pl
NNTP-Posting-Date: Sat, 8 Oct 2011 05:31:34 +0000 (UTC)
X-User: fir
X-Forwarded-For: 31.61.130.248
X-Remote-IP: localhost
Xref: news-archive.icm.edu.pl pl.comp.programming:192650
[ ukryj nagłówki ]M.M. <m...@t...pl> napisał(a):
> > <f...@g...SKASUJ-TO.pl> napisał(a):
>
>
> > (o ile rozumiem) fokusowany proces ma jakiegos boosta
> Ma na pewno, wiele razy to obserwowałem. Nie mam pewności
> skąd to się bierze, strzelam że z ustawień w systemie,
> czy optymalizować usługi w tle.
>
> Pozdrawiam
z tego co pisze w windows internals w xp (a mam stare wydanie tak ze nie
wiem jak w ciscie i 7) wotki procesu w foreground dostaja 60 milisekundowe
slice zamiast 20 ms (jak ustawic w zakladce te bacground services) to
jak rozumiem tego boosta nie ma i wszystkie procesy dostaja po 120 ms
Quantum Boosting
Prior to Windows NT 4.0, when a window was brought into the foreground on a
workstation or client system, all the threads in the foreground process (the
process that owns the thread that owns the window that's in focus) received a
priority boost of 2. This priority boost remained in effect while any thread
in the process owned the foreground window. The problem with this approach
was that if you started a long-running, CPU-intensive process (such as a
spreadsheet recalculation) and then switched to another CPU-intensive process
(such as a computer-aided design tool, graphics editor, or a game), the
process now running in the background would get little or no CPU time because
the foreground process would have its threads boosted by 2 (assuming the base
priority of the threads in both processes are the same) while it remained in
the foreground.
This default behavior was changed as of Windows NT 4.0 Workstation to instead
triple the quantum of the threads in the foreground process. Thus, threads in
the foreground process run with a quantum of 6 clock ticks, whereas threads
in other processes have the default workstation quantum of 2 clock ticks. In
this way, when you switch away from a CPU-intensive process, the new
foreground process will get proportionally more of the CPU, because when its
threads run they will have a longer turn that background threads (again,
assuming the thread priorities are the same in both the foreground and
background processes).
Note that this adjustment of quantums applies only to processes with a
priority higher than Idle on systems configured to Programs (or Applications,
in Windows 2000) in the Performance Options settings described in the
previous section. Thread quantums are not changed for the foreground process
on systems configured to Background Services (the default on Windows Server
systems).
--
Wysłano z serwisu Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/
Następne wpisy z tego wątku
- 08.10.11 05:51
- 08.10.11 06:03
- 08.10.11 08:51
- 08.10.11 20:47 M.M.
Najnowsze wątki z tej grupy
- 7. Raport Totaliztyczny: Sprawa Qt Group wer. 424
- TCL - problem z escape ostatniego \ w nawiasach {}
- Nauka i Praca Programisty C++ w III Rzeczy (pospolitej)
- testy-wyd-sort - Podsumowanie
- Tworzenie Programów Nieuprzywilejowanych Opartych Na Wtyczkach
- Do czego nadaje się QDockWidget z bibl. Qt?
- Bibl. Qt jest sztucznie ograniczona - jest nieprzydatna do celów komercyjnych
- Co sciaga kretynow
- AEiC 2024 - Ada-Europe conference - Deadlines Approaching
- Jakie są dobre zasady programowania programów opartych na wtyczkach?
- sprawdzanie słów kluczowych dot. zła
- Re: W czym sie teraz pisze programy??
- Re: (PDF) Surgical Pathology of Non-neoplastic Gastrointestinal Diseases by Lizhi Zhang
- CfC 28th Ada-Europe Int. Conf. Reliable Software Technologies
- Młodzi programiści i tajna policja
Najnowsze wątki
- 2024-12-14 światła znów wlączyli
- 2024-12-14 nie lekceważ termostatu
- 2024-12-14 numer 112
- 2024-12-14 Pendrive, ale dysk
- 2024-12-12 Autocom CAN CDP+ wysokie kody błędów
- 2024-12-13 termostat do lodowki
- 2024-12-13 Gdańsk => Inżynier bezpieczeństwa aplikacji <=
- 2024-12-13 Warszawa => Head of International Freight Forwarding Department <=
- 2024-12-13 Poznań => Employer Branding Specialist <=
- 2024-12-13 Kraków => Business Development Manager - Dział Sieci i Bezpieczeńst
- 2024-12-13 Kraków => Business Development Manager - Network and Network Security
- 2024-12-13 Katowice => Regionalny Kierownik Sprzedaży (OZE) <=
- 2024-12-13 Gdańsk => Programista Full Stack .Net <=
- 2024-12-13 Warszawa => Analityk Biznesowo-Systemowy <=
- 2024-12-13 Białystok => Architekt rozwiązań (doświadczenie w obszarze Java, A