Teraz jest Śr 04 mar, 2026 22:43


Arma II Free

Oczywiście związana jedynie z tematyką ArmA II oraz Operation Arrowhead...
  • Autor
  • Wiadomość
Offline
Avatar użytkownika

gremdek

Porucznik

Porucznik

  • Posty: 428
  • Dołączył(a): Pn 27 lut, 2006 15:02

PostWt 10 kwi, 2012 16:37

Foka napisał(a):Za to nie kumam czemu służy exThread. Warto to ruszać?


Kod: Zaznacz cały
exThreads

-exThreads= is option to define extra threads.

All file operations go through a dedicated thread. This offloads some processing from the main thread, however it adds some overhead at the same time. The reason why threaded file ops were implemented was to serve as a basement for other threads ops. When multiple threads are running at the same time, OS is scheduling them on different cores. Geometry and Texture loading (both done by the same thread) are scheduled on different cores outside the main rendering loop at the same time with the main rendering loop.



czyli tłumacząc na nasze: nie ruszaj, samo ci ustawi.
:(
Offline
Avatar użytkownika

Foka

Moderator

Moderator

  • Posty: 1258
  • Dołączył(a): So 19 mar, 2011 23:43
  • Lokalizacja: 3CT

PostWt 10 kwi, 2012 16:59

To już se sam przeczytałem, ale niewiele mi to mówi.
A z Twoim tłumaczeniem się nie zgadzam, poczytaj opis alokacji RAM to zobaczysz co on se sam może ustawić.
Rule #2: Double tap!
Offline
Avatar użytkownika

gremdek

Porucznik

Porucznik

  • Posty: 428
  • Dołączył(a): Pn 27 lut, 2006 15:02

PostWt 10 kwi, 2012 17:43

nie rozumiem cie. jak masz 2 rdzenie to ci ustawi exthreads=3 (bitowo 011) czyli 2 ex(tra) wątki dojdą. jak masz 4 to ci da exthreads=7 (bitowo 111) czyli 3 nowe wątki.
możesz sobie stwierdzić że przez te dodatkowe wątki ci się kaszani i dać inną wartość.

a co do ramu to nie wiem o co ci chodzi. ale poprzez zabawy z alokatorem można sobie znacznie poprawić wydajność, albo popsuć totalnie
:(
Offline
Avatar użytkownika

Foka

Moderator

Moderator

  • Posty: 1258
  • Dołączył(a): So 19 mar, 2011 23:43
  • Lokalizacja: 3CT

PostWt 10 kwi, 2012 17:56

Z RAMem chodzi o to, że ręcznie można ustawić na 2GB, a "samo ci ustawi" najwyżej do 1,5GB. Czyli "samo ci ustawi" nie jest optymalnym rozwiązaniem. Idąc tym tropem - ładnie to rozpisałeś, ale jak "samo ci ustawi" zareaguje, kiedy trafi na 6 rdzeni? Ustawi 7, czy zgłupieje, bo programista nie przewidział i dla bezpieczeństwa ustawi 0 lub 1?
Rule #2: Double tap!
Offline

rad

Porucznik

Porucznik

  • Posty: 382
  • Dołączył(a): So 03 paź, 2009 18:56

PostN 15 kwi, 2012 12:19

Suma na forums.bistudio.com napisał(a):ArmA 2 can use up to 31 cores in theory, but experiments have shown that with most scenes the gain above 4 cores is small and above 8 cores unmeasurable.

The explanation is Amdahl's law - only parts of the application is using all cores. See Real Virtuality Going Multicore blog.

---------- Post added at 13:58 ---------- Previous post was at 13:54 ----------

In build 76122 and newer the default for dualcores will be changed to -exThreads=3 based on user feedback.

We have also changed the cpu core detection, therefore depending on how many logical cpus are present, default -cpuCount values will be as follows:

1 1
...
6 6
7 7
8 4
9 4
10 5
11 5
12 6
13 6
14 7
....

Some day hopefully we will find a time to provide a proper HT detection, but until then I think the above provides quite reasonable default settings.


W innym poscie napisano, ze dla szesciu rdzeni domyslnie ustawiane jest exThreads=7. Ostatecznie wychodzi, ze jednak "samo sie ustawi" :P
Poprzednia strona

Powrót do [ArmA II] Ogólna dyskusja

Kto przegląda forum

Użytkownicy przeglądający ten dział: Brak zidentyfikowanych użytkowników i 2 gości

cron