Drawn Apart, iyo GPU-yakavakirwa mushandisi yekuzivikanwa nzira

Mazuva mashoma apfuura nhau dzakamuka kuti vatsvakurudzi kubva kuBen-Gurion University (Israel), iyo University of Lille (France) uye University of Adelaide (Australia) vakagadzira nzira itsva yekuziva michina yevashandisi nekuona GPU paramita muwebhu browser.

Iyo nzira inonzi "Drawn Apart" uye yakavakirwa pakushandiswa kweWebGL kuti uwane iyo GPU performance profile, iyo inogona zvakanyanya kunatsiridza iko kurongeka kwemaitiro ekutevera nzira dzinoshanda pasina kushandisa makuki uye pasina kuchengetedza identifier pane mushandisi system.

Nzira dzacho funga nezve kupa maitiro, GPU, mifananidzo stack, uye vatyairi pakuvazivisa iwo aimboshandiswa, asi iwo aiganhurirwa kune mukana wekuparadzanisa zvishandiso chete padanho remhando dzakasiyana dzemakadhi evhidhiyo uye maGPU, i.e. inogona kungoshandiswa sechimwe chinhu kuwedzera mukana wekuzivikanwa.

Chinhu chakakosha yenzira itsva ye "Drawn Apart". ndeyekuti haina kugumira pakuparadzanisa mhando dzakasiyana dzeGPUasi edza kuona mutsauko uripo pakati pemaGPU akafanana yemhando imwechete, nekuda kwekusiyana kwemaitiro ekugadzira machipisi akagadzirwa.

Zvinotaurwawo kuti misiyano inoitika panguva yekugadzira inocherechedzwa kuti iite kuti zvikwanise kuumba isingadzokorore molds yemamodhi emidziyo yakafanana.

Zvakazoitika kuti misiyano iyi inogona kuzivikanwa nekuverenga huwandu hwemayuniti ekuuraya uye kuongorora maitiro avo paGPU. Sekutanga kuona maGPU mamodheru akasiyana, macheki anoenderana neseti yemabasa etrigonometric, mashandiro ane musoro uye maverengero anoyangarara akashandiswa. Kuti uone misiyano paGPU imwecheteyo, nhamba yeshinda dzinomhanya panguva imwe chete kana ichimhanya vertex shader yakafungidzirwa.

Mhedzisiro yakazarurwa inofungidzirwa kuve yakakonzerwa nekusiyana kwehutongi hwekushisa uye kushandiswa kwesimba kweakasiyana chip zviitiko (mugumisiro wakafanana wakamboratidzwa kuCPU: mapurosesa akafanana airatidza mashandisirwo emagetsi akasiyana kana achimhanyisa processor imwechete).

Sezvo mashandiro eWebGL ari asynchronous, haugone kushandisa zvakananga performance.now() JavaScript API kuyera nguva yavo yekuuraya, saka nzira nhatu dzakarongwa kuyera nguva:

  • Onscreen: kupa chiitiko pane HTML kanivhasi nechiyero chenguva yekupindura chebasa rekufona rakaburitswa kuburikidza neWindow.requestAnimationFrame API uye yadaidzwa mushure mekunge shanduro yapera.
  • off screen: Shandisa mushandi uye ipa chiitiko kuchinhu cheOffscreenCanvas nekuyera nguva yekuuraya yeconvertToBlob command.
  • GPU: ichipa kune chinhu cheOffscreenCanvas, asi ine timer yakapihwa neWebGL kuyera nguva, tichifunga nezvenguva yekuitwa kweseti yemirairo kudivi reGPU.

Mukugadzira chiziviso 50 cheki inoitwa pachigadzirwa chimwe nechimwe, chimwe nechimwe chine zviyero 176 zvezvimiro 16 zvakasiyana. Kuedza, panguva iyo data yakaunganidzwa pamidziyo mazana maviri nemazana mashanu ine 2500 akasiyana maGPU, yakaratidza kuwedzera kwe1605% mukubudirira. yenzira dzakabatanidzwa dzekuzivikanwa nekuwedzera Draw Apart rutsigiro kwavari.

Kunyanya, iyo yakasanganiswa FP-STALKER nzira, paavhareji, yakapa chiziviso mukati memazuva 17,5, uye pamwe chete neDrawn Apart, nguva yekuzivikanwa yakawedzera kusvika kumazuva makumi maviri nemasere.

Zvinocherechedzwa kuti iko kurongeka kwakakanganiswa nekupisa kweGPU uye, kune mamwe maturusi, kudzoreredza sisitimu kwakakonzera kukanganisa kwechiziviso. Kana iyo nzira inoshandiswa pamwe chete nedzimwe nzira indirect identification, chokwadi chinogona kuwedzerwa zvakanyanya. Inorongwawo kuwedzera huchokwadi kuburikidza nekushandiswa kwekombuta shaders mushure mekudzikamiswa kweiyo WebGPU API itsva.

Intel, ARM, Google, Khronos, Mozilla, uye Brave vakaziviswa nezvenyaya iyi kutanga kwa2020, asi ruzivo rwenzira yacho rwakangoburitswa.

Pakati pezvimwe zvinhu, vatsvakurudzi vakabudisa mienzaniso yekushanda yakanyorwa muJavaScript uye GLSL iyo inogona kushanda uye isina kuratidza ruzivo pachiratidziro. Zvakare zveIntel GEN 3/4/8/10 GPU yakavakirwa masisitimu, seti yedata yakaburitswa kurongedza ruzivo rwakaburitswa mumashini ekudzidza masisitimu.

Finalmente kana iwe uchifarira kuziva zvakawanda nezvazvo, unogona kutarisa ruzivo mu 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