Na komporo ea hau e sebetsa butle? Ithute ho tseba bothata ka Perfmon ho Windows.

Nchafatso ea hoqetela: 14/08/2025

  • PerfMon e thusa ho lekanya nako ea 'nete le ho rekota nako e telele ka li-counter tse nepahetseng le tse lokisehang.
  • Li-Collector Sets le Logman li thusa ho ts'oaroa ka mokhoa o phetoang le ho iketsetsa li-server.
  • Mehato ea memori, CPU, disk, le marang-rang a thusa ho lemoha libotlolo le ho lutla.
  • Reliability Monitor e tlatsa tlhahlobo ka ho bonts'a ho hloleha le litaba tsa ho lumellana.

PerfMon Performance Monitor ho Windows

PerfMon (Tlhahlobo ea Tshebetso) ke Sesebelisoa sa ho qetela sa ho beha leihlo ho WindowsPerfMon: E u lumella ho sheba nako ea 'nete, nako e telele, le ho sekaseka metrics ea ts'ebetso ea CPU, memori, disk, marang-rang le lits'ebetso tse ikhethileng. Ho fapana le Task Manager, PerfMon e nka lisampole nako le nako le li-log ho disk, e etsa hore e be e loketseng ho tsoma mathata a hlahang feela ka mor'a lihora tse ngata tsa ho sebetsa, joalo ka ho tlala mohopolo kapa ho lutla ha lisebelisoa lits'ebeletso le lits'ebetso.

Sehloohong sena re tla u bontša mokhoa oa ho sebelisa PerfMon. Ho tloha ho khetha le ho utloisisa li-counter tse nepahetseng le ho lokisa sampole ea chate le sekala, ho isa ho ho theha Litlhophiso tsa Bokelli ba Lintlha ho kenya metrics ho faele (BLG/CSV.

PerfMon ke eng le hore na u ka e sebelisa neng?

 

Performance Monitor (PerfMon) ke sebali le sehatisi sa Windows sa khale.. E hlahisa metrics ka mokhoa oa li-graph le data e tala e fumanoeng ho tsoa ho li-counters tsa sistimi le ts'ebeliso (mohlala, ho tsoa ho .NET CLR kapa ts'ebetso e itseng). Molemo oa eona o moholo ho feta lisebelisoa tse "potlako" tse kang Motsamaisi oa Mosebetsi ke hore u ka e tlohela e sebetsa lihora kapa matsatsi, ka mehlala ea nako le nako, ho lemoha mekhoa ea sebele (litlhōrō, lits'ebeletso tsa motheo, khōlo e tsitsitseng).

PerfMon e bohlokoa ho hlahloba kgolo ya mohopolo, molamu kapa khoele e dutlang, le ho arola likarolo tse nang le bothata ka ho etsa liteko tse ikhethileng. Ka mohlala, haeba u belaella ho lutla ha memori, u tla nolofaletsa li-counters tse kang Private Bytes, Handle Count, le Thread Count bakeng sa ts'ebetso e amehileng, hammoho le .NET CLR Memory counters joaloka # Byte in all Heaps le Gen 2 heap size for .NET applications, ho bona hore na kholo e etsahala nakong kapa ka ntle ho GC.

Bula PerfMon le mekhoa ea /res /report /rel /sys

Mekhoa ea ho bula PerfMon le mekhoa e ikhethang

 

U ka bula PerfMon ho tswa ho Start menu, batla "performance" kapa "perfmon" mme o tsamaise joalo ka molaoli ha u il'o etsa li-log kapa u botsa ka likhomphutha tse hole.

Haeba u khetha ho Mola oa taelo (Win+R kapa CMD), u na le mekhoa e tobileng e sebetsang ka syntax e latelang:

perfmon </res|report|rel|sys>

Khetho ka 'ngoe e etsa eng?

  • /nama ea khomo ho bula pono ya mohlodi
  • /tlaleha ho qala setsi sa pokello ea tlhahlobo ea sistimi le ho sheba tlaleho.
  • /rel ho bula Reliability Monitor.
  • /sys ho ea ka kotloloho ho sebali sa tšebetso sa khale.

Consejo: haeba u batla ho hlahloba ho tšepahala ha lisebelisoa, perfmon / rel Ke tsela e khuts'oane e lebisang botsitso le nalane ea liphoso.

Tšepahalang Tlhahlobo E boetse e fumaneha ho Control Panel> Sistimi le Ts'ireletso> Ts'ireletso le Tlhokomelo. Tsela e 'ngoe e khutšoanyane: thaepa "reliab" ka har'a "Start menu" ea ho batla ebe u khetha "Sheba histori ea ho tšepahala." U tla bona liketsahalo tse mahlonoko, litemoso, le tlhaiso-leseling ka letsatsi kapa beke, ka phihlello ea lintlha tsa mahlale ea ho hloleha ha kopo le mokhanni.

Litaba tse ikhethileng - Tobetsa Mona  Mokhoa oa ho rarolla mathata a ho lumellana le SSD?

Ponahalo ea nako ea 'nete: ho eketsa le ho utloisisa libali

 

Ho bona a chate e phelang, bula "Performance Monitor" sefateng se ka ho le letšehali. Haeba ho na le likhau tse kentsoeng esale pele 'me u batla ho qala ho hloekisa, li khethe tafoleng e ka tlase ebe u tobetsa Supr. Ebe, sebakeng sa chate, tobetsa ka ho le letona> Eketsa Libali… ho bula puisano ka mekhahlelo eohle e teng.

Khetha sehlopha sa thahasello, counter, le mohlala oa ntho (mohlala, ts'ebetso ea hau). Ho hlahloba memori le lisebelisoa ts'ebelisong e itseng, kenya li-key counters ho tsoa sehlopheng Process y .NET CLR Memori moo ho loketseng:

  • Ts'ebetso \ Li-byte tsa poraefete: Mehopolo ea lekunutu e fanoeng ke ts'ebetso (ha e arolelanoe le ba bang). Khōlo e tsitsitseng e bontša tšebeliso ea sebele ea mohopolo oa eona oa sebele.
  • Tshebetso \ Ho sebetsana le palo: palo ea lihapi tse bulehileng. Keketseho e sa khaotseng hangata e bontša ho lutla ha lisebelisoa (linako, lintho tsa sistimi).
  • Tshebetso \ Palo ea Khoele: Palo ea likhoele tse sebetsang tse ntseng li tsoela pele. Li-spikes tse sa lebelloang li ka supa mathata a lichelete kapa likhoele tse sa phethoang.
  • NET CLR Memory \ # Li-byte ho Mekoallo eohle: Kakaretso ea memori bakeng sa lintho tsa .NET. Haeba e hola ntle le ho tsitsisa, hlahloba khatello ea GC le litšupiso tse sa kang tsa lokolloa.
  • .NET CLR Memory \ Gen 2 qubu ea boholo: Gen 2 qubu ea boholo (lintho tse phetseng nako e telele). Khōlo e tsoelang pele e fana ka maikutlo a lintho tse sa bokelloeng tsa nako e telele.

Hlalosa kerafo ka leihlo le mahlonokoHaeba u hlokomela hore Private Byte e ntse e eketseha butle-butle ha # Byte ho Heaps tsohle le Gen 2 qubu ea boholo bo ntse bo tsitsitse, kholo ha e ka har'a .NET heap empa mohopolong oa tlhaho oa ts'ebetso. Hangata mokhoa ona o bontša ho lutla ka ntle ho GC (mohlala, li-buffers tse sa hatsetsoang kapa lithupa).

Litlhophiso tsa sekhahla le nako ho PerfMon

Fetola kerafo: sekala, nako le nako

PerfMon e lumella lokisa ponahalo ea khaontara ka 'ngoe le nako ea nalane eo u e bonang. Tobetsa Ctrl + Shift-A Ho khetha li-counters lethathamong le ka tlase, tobetsa ka ho le letona ebe u khetha Eketsa libali tse khethiloeng, kahoo kaofela li tla bonahala ho se ea “batalatsa” tse ling kaofela.

Bula Thepa ea Chate Tobetsa ka ho le letona> Thepa… ebe u seta sekhahla sa sampole ho tab ea Kakaretso. Mohlala, etsa mohlala metsotsoana e meng le e meng e 10 'me u behe Nako ho 10000 ho nka lihora tse ka bang 2,5 ponong. Ha ketsahalo ena e le telele, tekanyo ea lisampole e lokela ho ba ho qoba lifaele tse kholo le ho kenya komporo ea hau ho feta tekano.

Keletso e eketsehileng: PerfMon e pepesa thepa le mekhoa ea ActiveX, e u lumellang ho e kopanya kapa ho e laola ho tsoa ho lisebelisoa tse ling tsa nts'etsopele esita le ho e kenya e le taolo ts'ebelisong ea hau ha ho hlokahala.

Iketsetse ka Logman: Theha, Qala, 'me Emisa

 

Logman.exe ke sesebelisoa sa line-taelo bakeng sa ho theha le ho laola li-countersets.. Bula molaetsa oa taelo ka litokelo tsa motsamaisi 'me u tsamaise taelo e ts'oanang le e latelang ho theha setsi se seholo sa ho beha leihlo se nang le faele e chitja:

Litaba tse ikhethileng - Tobetsa Mona  Microsoft E Eketsa Likhetho tsa Tokiso ea Xbox ka Bafani ba Bacha le Likarolo tse Felletseng

Logman.exe create counter Avamar -o "c:\\perflogs\\Emc-avamar.blg" -f bincirc -v mmddhhmm -max 250 -c "\\LogicalDisk(*)\\*" "\\Memory\\*" "\\Network Interface(*)\\*" "\\Paging File(*)\\*" "\\PhysicalDisk(*)\\*" "\\Processor(*)\\*" "\\Process(*)\\*" "\\Redirector\\*" "\\Server\\*" "\\System\\*" -si 00:00:05

le para qala le ho emisa ho hapa, sebelisa:

Logman.exe start Avamar
Logman.exe stop Avamar

Malebela a taelo: -f bincirc e etsa circular binary log (-max limits the size in MB), -si e hlalosa nako ea ho etsa sampole, le -c e eketsa liballo ka bongata bakeng sa lintho le maemo a tsona. Sebelisa litsela tse qotsitsoeng 'me u balehe li-backslashs ha u ngola kapa u romela litlhophiso.

Logman e sebelisoa neng? E loketse bakeng sa bokella lintlha tsa nako e telele Ho li-server, tlhahlobo ea othomathike, kapa u ntlafatse ho ts'oaroa ka har'a mechini e mengata. U ka e hlophisa le Task Scheduler 'me u fetole lifaele ntle le ho kena lipakeng.

Litekanyetso tsa counter ea ts'ebetso

Li-counter le li-threshold tse sebetsang ho tsamaiso e nyenyane

Memoria: E beha leihlo bokhoni ba 'nete, khatello ea paging, le ho fokotseha ha letamo la sistimi. Libali tsena le litataiso li thusa ho arola matšoao ho tsoa ho lisosa:

  • Memori \% Li-Byte Tse Ikemetseng Tse Ts'ebelisong: Peresente ea mohopolo o ikemiselitseng ho feta moeli oa boitlamo. Haeba e lula e feta 80%, hlahloba boholo ba faele ea paging le ts'ebeliso ea 'nete.
  • Memori \ E fumaneha MBytes: Ho hopola 'mele mahala. Batlisisa hore na <5% ea RAM e theoha khafetsa (le <1% e bohlokoa).
  • Memori \ Li-Byte tse Ikemetseng: Kakaretso ea li-byte tse inehetseng. Ha ea lokela ho fapana haholo; liphetoho khafetsa li ka fella ka ho atolosoa ha li-pagefile.
  • Memory \ Pool Nonpaged Bytes: letamo le se nang maqephe (lintho tse ke keng tsa phalleloa ho disk). Maikutlo a sa feleng (> 80%) Li amahanngoa le liketsahalo tse kang 2019 (mokhathala o sa tsitsang oa letamo).
  • Memory \ Pool Paged Bytes:: letamo le nang le maqephe. Litekanyetso tse tsitsitseng> 70% ea boholo bo bonts'a kotsi ea ketsahalo ea 2020 (ho felloa ke matla ha letamo).

Motlakase: Batla meroalo e tsitsitseng le matšoao a boima a I/O kapa bakhanni ba lerata.

  • Litaba tsa processor \% Nako ea processor (maemo ohle):> 90% e ts'ehelitsoe ho 1 CPU kapa> 80% ho li-multiprocessor e fana ka maikutlo a ho tlala ha CPU.
  • processor \ % Nako e Tlotlehang: Nako ea mokhoa oa Kernel. Ho tsoela pele ho feta 30% ho li-server tsa app/web ho ka bonts'a mokhanni o mongata kapa mosebetsi o mongata oa sistimi.
  • processor \ % Khaotsa Nako y % Nako ea DPC: > 25% e supa ts'ebetso e matla ea sesebelisoa (NIC, disk, joalo-joalo).
  • Sistimi \ Context Switches/sec y processor \ E sitisa / motsotsoana: e na le thuso bakeng sa ho shebella khatello ea maikutlo le ho sitisa ts'ebetso.

Red: lintlha tsa bophelo bo botle ba NIC le boleng ba puisano.

  • Network Interface\Packets Received Lahliloe: e lokela ho lula haufi le zero; litekanyetso tse ntseng li phahama hangata li bontša li-buffer/hardware tse sa lekaneng.
  • Network Interface\Packets Fumana Liphoso: : liphoso > 2 e tsitsitseng e hloka tlhahlobo ea li-link / lithapo / bakhanni.

tiske: litekanyo tsa ho tlala, ho lieha le bokhoni.

  • PhysicalDisk \% Nako e sa sebetseng: peresente ea nako ea ho se sebetse. E tsitsitseng tlase e bontša disk e phathahaneng; e bonahatsa bokhoni bo setseng hantle.
  • PhysicalDisk \ Avg. Disk sec/Bala y Avg. Disk sec/Ngola: Karolelano ea ho lieha. Litšupiso tse tloaelehileng (litataiso): Libali tse ntle haholo <8 ms, tse amohelehang <12 ms, fair <20 ms, poor > 20 ms; E ntle haholo e ngola <1 ms, e ntle <2 ms, e ntle <4 ms, e futsanehileng> 4 ms.
  • PhysicalDisk \ Avg. Disk Queue bolelele: mehatla e tloaelehileng. Litekanyetso tse ka tlase ho 2 × hangata lia utloahala.
  • PhysicalDisk \ Arola IO/Sec: I/Os e arohane ka lebaka la ho arohana kapa boholo bo sa lekaneng ba li-block. E tlase e betere.
  • LogicalDisk \ % Sebaka sa Mahala: Kamehla tlohela> 15% mahala (e khothalelitsoe ≥ 25%) ho li-volumes tse utloahalang tsa tsamaiso.
Litaba tse ikhethileng - Tobetsa Mona  AirPods Pro ke eng?

Lintho tsa Disk: 'meleng khahlano le kelello.

  • PhysicalDisk e eketsa phihlello ea likarolo tsohle tsa sesebelisoa sa 'mele (e supa hardware).
  • LogicDisk E lekanya karohano e itseng kapa ntlha ea thaba. Ka li-disk tse matla, molumo o utloahalang o ka qeta li-disk tse ngata tsa 'mele,' me li-counters tsa eona li tla bonahatsa kakaretso.

Tshebetso: ho hokahanya lisebelisoa le boits'oaro ba sesebelisoa se itseng, beha leihlo Tshebetso \ % Nako ea processor, Private Bytes, Virtual Byte y Sehlopha sa ho sebetsa. Tšoara Palo Ke senotlolo haeba u belaela hore letamo le lutla; kholo ea sebetsana le hangata nyalana le keketseho e sa tloaelehang ka Letamo la Nonpaged/Paged.

Reliability Monitor: Batlisisa ho hloleha le ho lumellana

Windows Reliability Monitor e akaretsa botsitso le liketsahalo ka letsatsi kapa beke, ho hlopha tse hlokolosi, temoso le tlhahisolesedingHo tsoa kholomong ka 'ngoe, u ka bula "Sheba Lintlha tsa Tekheniki" ho hlahloba li-module, khoutu le li-signature tsa dijithale tsa li-binaries tse amehang.

  • Mohlala o sebetsangU tla fumana likenyo tse kang svchost.exe_MapsBroker kapa lits'ebetso tse ling tse senyehang. Ka linako tse ling mojule o tlalehiloeng (mohlala, Kernelbase.dll) ke oa Windows kernel mme o saennoe ke Microsoft, e fana ka maikutlo a hore sesosa ha se kernel, empa ke ts'ebeliso kapa plugin e sebetsang sebakeng sa hau sa mosebelisi.
  • Seo u lokelang ho se etsa ha sesebelisoa sa khale se hlolehaMatha setharollo sa mathata 'me u leke ho qobella mokhoa oa ho lumellana (mohlala, Windows 7) le ho tima sekala se phahameng sa DPI haeba u kopana le mathata a sebopeho kapa ts'ebetso. Litlhophiso tsena li bonts'itsoe ho rarolla mathata a software ea khale.
  • E hokahanya liphetho tsa botsitso le PerfMonE kopanya nalane ea ho soahlamana le li-logs ho bona hore na Private Byte, Handle Count, kapa disk latency li ne li le holimo pele ho ho oa. Khokahano ena e u fa khoele ea ho hula.
  • Ho koala ho sebetsang: Ka PerfMon le Reliability Monitor u ka hlahloba ho tloha matšoao (ho senyeha, ho lieha) ho isa sesosa (ho lutla ha memori, disk bottleneck, 100% CPU, liphoso tsa marang-rang), tse tšehetsoeng ke li-counters le menyako e u tataisang ka ho hlaka.

Haeba u hloka tataiso e potlakileng ea ho qala: Bula PerfMon, eketsa li-counter bakeng sa ts'ebetso e reriloeng (Private Byte, % Processor Time, joalo-joalo), fetola lisampole le nako ea nako ho koahela fensetere eo bothata bo hlahang ho eona, kena ho file ka Setha sa Collector, 'me haeba ho hlokahala, iketsetse le Logman ho li-server kapa libaka tsa liteko tse hlokang ho sebetsa lihora tse ngata.