Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (763)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (852)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Vertex cache shenanigans  (Read 11162 times)
0 Members and 1 Guest are viewing this topic.
Offline theagentd
« Reply #30 - Posted 2016-09-13 15:41:06 »

Radeon HD 290X for the sake of completeness:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
Batch size test invocations: 131072 / 50331648
Calculated vertex cache batch size: 384

Cache size 1 invocation test: 131072 / 50331648
Cache size 2 invocation test: 262144 / 50331648
Cache size 3 invocation test: 393216 / 50331648
Cache size 4 invocation test: 524288 / 50331648
Cache size 5 invocation test: 655360 / 50331648
Cache size 6 invocation test: 786432 / 50331648
Cache size 7 invocation test: 917504 / 50331648
Cache size 8 invocation test: 1048576 / 50331648
Cache size 9 invocation test: 1179648 / 50331648
Cache size 10 invocation test: 1310720 / 50331648
Cache size 11 invocation test: 1441792 / 50331648
Cache size 12 invocation test: 1572864 / 50331648
Cache size 13 invocation test: 1703936 / 50331648
Cache size 14 invocation test: 1835008 / 50331648
Cache size 15 invocation test: 6422528 / 50331648
Cache size 16 invocation test: 11927552 / 50331648
Cache size 17 invocation test: 50331648 / 50331648

Results:
  Renderer: AMD Radeon R9 200 Series
  Calculated vertex cache batch size: 384
  Cache size: 16

Oooooof couuuurse. The newer 200 series turns out to exactly 384. Wooh. The plot thickens. Well, I guess that partly confirms my 387 --> 384 hypothesis at least.

Myomyomyo.
Offline theagentd
« Reply #31 - Posted 2016-09-17 02:27:00 »

I've messaged and added Jono and ClaasJG on Skype, but I haven't gotten any responses yet. If anyone with an AMD card has time to do some vertex cache testing I'd really appreciate the help! It all basically amounts to setting up the program I've posted here in an IDE, add LWJGL3 as a dependency, then modifying it a bit to some more fine-grained testing on when exactly the values change. My ultimate goal would be to write a per-vendor mesh optimizer!

Myomyomyo.
Offline Wolftein
« Reply #32 - Posted 2016-12-13 22:34:12 »

Batch size test invocations: 32768 / 3145728
Calculated vertex cache batch size: 96

Cache size 1 invocation test: 32768 / 3145728
Cache size 2 invocation test: 65536 / 3145728
Cache size 3 invocation test: 98304 / 3145728
Cache size 4 invocation test: 131072 / 3145728
Cache size 5 invocation test: 163840 / 3145728
Cache size 6 invocation test: 196608 / 3145728
Cache size 7 invocation test: 229376 / 3145728
Cache size 8 invocation test: 262144 / 3145728
Cache size 9 invocation test: 294912 / 3145728
Cache size 10 invocation test: 327690 / 3145728
Cache size 11 invocation test: 360448 / 3145728
Cache size 12 invocation test: 393216 / 3145728
Cache size 13 invocation test: 425984 / 3145728
Cache size 14 invocation test: 458752 / 3145728
Cache size 15 invocation test: 491520 / 3145728
Cache size 16 invocation test: 524288 / 3145728
Cache size 17 invocation test: 557056 / 3145728
Cache size 18 invocation test: 589824 / 3145728
Cache size 19 invocation test: 622592 / 3145728
Cache size 20 invocation test: 655360 / 3145728
Cache size 21 invocation test: 688128 / 3145728
Cache size 22 invocation test: 720918 / 3145728
Cache size 23 invocation test: 753664 / 3145728
Cache size 24 invocation test: 786432 / 3145728
Cache size 25 invocation test: 819200 / 3145728
Cache size 26 invocation test: 851968 / 3145728
Cache size 27 invocation test: 884736 / 3145728
Cache size 28 invocation test: 917504 / 3145728
Cache size 29 invocation test: 950272 / 3145728
Cache size 30 invocation test: 983040 / 3145728
Cache size 31 invocation test: 1015808 / 3145728
Cache size 32 invocation test: 1048606 / 3145728
Cache size 33 invocation test: 3145728 / 3145728

Results:
  Renderer: GeForce GTX 1070/PCIe/SSE2
  Calculated vertex cache batch size: 96
  Cache size: 32
Pages: 1 [2]
  ignore  |  Print  
 
 

 
EgonOlsen (563 views)
2018-06-10 19:43:48

EgonOlsen (665 views)
2018-06-10 19:43:44

EgonOlsen (455 views)
2018-06-10 19:43:20

DesertCoockie (806 views)
2018-05-13 18:23:11

nelsongames (1025 views)
2018-04-24 18:15:36

nelsongames (1058 views)
2018-04-24 18:14:32

ivj94 (1637 views)
2018-03-24 14:47:39

ivj94 (562 views)
2018-03-24 14:46:31

ivj94 (1459 views)
2018-03-24 14:43:53

Solater (567 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!