-
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
- Xiaomi [Chiny - przyp. JMJ] produkuje w całkowitych ciemnościach i bez ludzi
- Prezydent SZAP/USONA Trump ułaskawił prezydenta Hondurasu Hernandeza skazanego na 45 lat więzienia
- Rosjanie chwalą się prototypem komputera kwantowego. "Najważniejszy projekt naukowy Rosji"
- A Szwajcarzy kombinują tak: FinalSpark grows human neurons from stem cells and connects them to electrode arrays
- Re: Najgorszy język programowania
- NOWY: 2025-09-29 Alg., Strukt. Danych i Tech. Prog. - komentarz.pdf
- Na grupie comp.os.linux.advocacy CrudeSausage twierdzi, że Micro$lop używa SI do szyfrowania formatu dok. XML
- Błąd w Sofcie Powodem Wymiany 3 Duńskich Fregat Typu Iver Huitfeldt
- Grok zaczął nadużywać wulgaryzmów i wprost obrażać niektóre znane osoby
- 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
Najnowsze wątki
- 2026-01-23 Stop na zielonym
- 2026-01-23 KSEFowy trolling
- 2026-01-23 KSEFowy trolling
- 2026-01-23 Warszawa => Software Development Team Leader (C#/.Net) <=
- 2026-01-23 Toruń => Sales Engineer (Database background) <=
- 2026-01-23 Toruń => Preseles Inżynier (background baz danych) <=
- 2026-01-23 antena gsm - kabel - antena gsm
- 2026-01-22 Złomnik ty pisowska SZMATO! ;-)
- 2026-01-22 PID - jeszcze raz
- 2026-01-22 konkret24.tvn24.pl "gwarantuje": za SAMO wylanie gnojówki pod domem tusk-ministra aresztu nie będzie! ;-)
- 2026-01-22 Prawo na wesoło: nakaz rozbiórki "dwóch przyczep samochodowych" jako budynku ;-)
- 2026-01-22 Airtagi
- 2026-01-22 Warszawa => Full Stack Developer (Go/React) <=
- 2026-01-22 Warszawa => Senior Account Manager <=
- 2026-01-21 Nissan Leaf II 40kWh - degradacja baterii, SOH, uszkodzona bateria




Ceny mieszkań zaskoczyły nawet ekspertów. Chodzi o taktykę deweloperów