-
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
- Can you activate BMW 48V 10Ah Li-Ion battery, connecting to CAN-USB laptop interface ?
- We Wrocławiu ruszyła Odra 5, pierwszy w Polsce komputer kwantowy z nadprzewodzącymi kubitami
- Ada-Europe - AEiC 2025 early registration deadline imminent
- John Carmack twierdzi, że gdyby gry były optymalizowane, to wystarczyły by stare kompy
- Ada-Europe Int.Conf. Reliable Software Technologies, AEiC 2025
- Linuks od wer. 6.15 przestanie wspierać procesory 486 i będzie wymagać min. Pentium
- ,,Polski przemysł jest w stanie agonalnym" - podkreślił dobitnie, wskazując na brak zamówień.
- Rewolucja w debugowaniu!!! SI analizuje zrzuty pamięci systemu M$ Windows!!!
- Brednie w wiki - hasło Dehomag
- Perfidne ataki krakerów z KRLD na skrypciarzy JS i Pajton
- Instytut IDEAS może zacząć działać: "Ma to być unikalny w europejskiej skali ośrodek badań nad sztuczną inteligencją."
- Instytut IDEAS może zacząć działać: "Ma to być unikalny w europejskiej skali ośrodek badań nad sztuczną inteligencją."
- Instytut IDEAS może zacząć działać: "Ma to być unikalny w europejskiej skali ośrodek badań nad sztuczną inteligencją."
- U nas propagują modę na SI, a w Chinach naukowcy SI po kolei umierają w wieku 40-50lat
- C++. Podróż Po Języku - komentarz
Najnowsze wątki
- 2025-07-12 Warszawa => PC Hardware Expert / Specjalista PC <=
- 2025-07-12 Warszawa => Account Manager - Usługi rekrutacyjne <=
- 2025-07-12 Warszawa => Administrator IT <=
- 2025-07-12 Warszawa => IT Administrator <=
- 2025-07-12 Warszawa => Asystent/tka ds. Administracji <=
- 2025-07-12 Warszawa => Specjalista/stka ds. Organizacji <=
- 2025-07-12 Warszawa => MENA New Business Manager <=
- 2025-07-12 Gdynia => Controlling systems Consultant <=
- 2025-07-12 Warszawa => Developer Microsoft Dynamics 365 Finance & Operations (D36
- 2025-07-12 Warszawa => Programista Microsoft Dynamics 365 Finance & Operations (D
- 2025-07-12 Warszawa => Dyrektor IT <=
- 2025-07-12 Warszawa => IT Director <=
- 2025-07-12 Czy wypowiedź Kaczyńskiego o Braunie jest skarżalna? ["działa z OBCEJ inspiracji"]
- 2025-07-11 Rejestrator temperatur - termopara, siec
- 2025-07-11 DPD, przeniesienie numerów z a2mobile i z Orange