eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingkoszt zarzadzaniaRe: koszt zarzadzania
  • 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/

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


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


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: