Iyo itsva vhezheni yeLinux 5.17 yakatoburitswa uye idzi ndidzo shanduko dzakanyanya kukosha

Chiratidzo Kernel Linux, Tux

Mushure memwedzi miviri yekuvandudza, Linus Torvalds akafumurwa mazuva mashoma apfuura kutanga kwekune itsva Linux kernel vhezheni 5.17.

Pakati pekuchinja kwakakurumbira inoratidza itsva performance management system ye ma processor AMD, rutsigiro rwezvirongwa zveBPF akaumbwa malaptops, shanduko kubva kune pseudo-random nhamba jenareta kuenda kuBLAKE2s algorithm, iyo itsva fscache backend ku cache network faira masisitimu, pakati pezvimwe zvinhu.

Iyo vhezheni itsva yakagamuchira 14203 zvigadziriso kubva kuvagadziri ve1995, saizi yechigamba ndeye 37 MB (shanduko dzakakanganisa mafaira e11366, mitsara ye506043 yekodhi yakawedzerwa, mitsara ye250954 yakabviswa).

Zvinyorwa zvitsva zveLinux Kernel 5.17

Mune iyi vhezheni itsva mukana weiyo nested mepu yevashandisi ID yeakakwidzwa mafaira masisitimu anoitwa, iyo inoshandiswa kumepu mafaera emumwe mushandisi pane yekunze partition yakaiswa nemumwe mushandisi pane yazvino system. Iyo yakawedzerwa ficha inobvumidza iwe kuti ushandise iyo mepu uchidzokorodza pane mafaira masisitimu ayo mepu yakatoshandiswa.

Sisitimu fscache yakanyorwazve zvachose. Kuitwa kutsva inosiyaniswa nekurerutsa kwakakosha kwekodhi uye kutsiviwa kwehurongwa hwakaoma uye chinhu chekutsvaga mamiriro ezvinhu nemaitiro akareruka. Tsigiro yeiyo fscache nyowani inoitwa muCIFS faira system.

Btrfs inogadziridzwa kunyoresa uye fsync mashandiro kune madhairekitori makuru, anoitwa nekukopa chete makiyi e index uye kuderedza huwandu hweakarekodhwa metadata, pamwe ne indexing uye kutsvaga nemahara nzvimbo rekodhi saizi rutsigiro rwakapihwa, iyo yakaderedzwa latency uye nguva yekutsvaga neinenge 30%, iyo yakabvumira kuti kushandiswa kweparagmentation kuvhiringidzwe.

Ext4 yakatamira kune imwe gomo API iyo inoparadzanisa nhanho dzekuparadzanisa makomo sarudzo uye kugadzirisa iyo superblock, pamwe nerutsigiro rweusimbe uye nolazytime gomo sarudzo dzakabviswa, iyo yakawedzerwa sechinjo yenguva pfupi kurerutsira shanduko kubva kune util-linux kushandisa mureza MS_LAZYTIME uye yakawedzera rutsigiro rwekumisikidza uye kuverenga tags muFS (ioctl FS_IOC_GETFSLABEL neFS_IOC_SETFSLABEL).

Mutungamiriri amd-pstate yakawedzerwa kuti ipe dynamic frequency control kuitira kushanda kwakakwana. Mutyairi anotsigira itsva AMD CPUs uye APUs, kusanganisira mamwe Zen 2 uye Zen 3 chizvarwa machipisi, uye akagadzirwa nekubatana neValve kuvandudza simba rekutonga kwesimba. Kune adaptive frequency switching, iyo CPPC (Collaborative processor Performance Control) inoshandiswa, iyo inokutendera iwe kuti uchinje zviratidzo zvakanyanya (kwete kugumira kumatanho matatu ekuita) uye kupindura nekukurumidza kune shanduko yehurumende kupfuura Yakamboshandiswa ACPI-based P-state. vatyairi. (CPU frequency).

Kune rimwe divi, zvinoratidzwa izvo chirongwa chakagadziridzwa chinorongwa kubva kune pseudorandom nhamba jenareta RDRAND, iyo ine basa rekushanda kwe / dev/random uye / dev/urandom zvishandiso, zvinozivikanwa pakuchinja kwekushandisa BLAKE2s hash basa panzvimbo yeSHA1 yekusanganisa entropy mashandiro. Shanduko iyi yakaita kuti zvikwanise kuwedzera kuchengetedzwa kwepseudo-random nhamba jenareta nekubvisa inonetsa SHA1 algorithm uye kubvisa kudhindwa kweRNG yekutanga vector. Sezvo iyo BLAKE2s algorithm iri pamberi peSHA1 maererano nekuita, kushandiswa kwayo kwakave nemhedzisiro yakanaka pakuita.

Yakawedzerwa dziviriro kubva pakusagadzikana kweprocessor kunokonzerwa nekufungidzira kuuraya yemirairo mushure mekuita kusvetuka-mberi kusingaverengeki. Dambudziko rinomuka kubva kune preemptive kugadziriswa kwemirairo nekukasira kuteedzera kusvetuka kuraira mundangariro (SLS, Straight Line Speculation). Kugonesa kuchengetedzwa kunoda kuvaka neGCC vhezheni 12, iyo iri mukuyedza.

Sisitimu drm (Direct Rendering Manager) uye mutyairi weI915 akawedzera tsigiro yezvikirini kuratidza ruzivo rwakadzama, semuenzaniso, mamwe malaptops ane masikirini ane akavakirwa-mukati Confidential View modhi, zvichiita kuti zviome kuona kubva kunze. Shanduko dzakawedzerwa dzinokutendera kuti ubaire madhiraivha akasarudzika ezvikirini zvakadaro uye kudzora yakavanzika yekubhurawuza modhi nekuisa zvivakwa mumadhiraivha eKMS akajairwa.

Mutungamiriri amdgpu inosanganisira tsigiro yeSTB debugging tekinoroji (Smart Trace Buffer) kune ese AMD maGPU anoitsigira. STB inofambisa ongororo yekutadza uye inoratidza kwainobva matambudziko nekuchengeta mune yakakosha buffer ruzivo nezve mabasa akaitwa pamberi pekutadza kwekupedzisira.

Pane dzimwe shanduko dzinobuda pachena:

  • Iyo i915 mutyairi anowedzera rutsigiro rweIntel Raptor Lake S machipi uye inogonesa rutsigiro rweIntel Alder Lake P mifananidzo nekukasira.
  • Iwo madhiraivha efbcon/fbdev akadzosa rutsigiro rwehardware-yakawedzera kupuruzira mukoni.
  • Kuenderera mberi kubatanidzwa kwekuchinja kutsigira Apple M1 chips.
  • Akamisikidza kugona kushandisa simpledrm mutyairi pane masisitimu ane Apple M1 chip kugadzira inobuda kuburikidza neiyo firmware-yakapihwa furemu buffer.
  • bpf_loop() mugadziri mu eBPF subsystem, iyo inopa imwe nzira yekuronga zvishwe muzvirongwa zveBPF, nekukurumidza uye nyore kuti mutsigiri aone.

Kana uri kufarira kuziva zvakawanda nezvazvo, unogona kutarisa ruzivo Mune inotevera chinongedzo.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako