arne-bdt commented on issue #1961:
URL: https://github.com/apache/jena/issues/1961#issuecomment-1892778529

   @afs I did the same thing :-) 
   But the estimated runtime for the benchmarks  is > 12 hours. So I did not 
wait for them to finish. I only ran the unit tests, which work fine.
   
   @sszuev Your benchmarks seem to test for throughput in different scenarios. 
If I understand the code correctly, there is always one graph to start with and 
then multiple threads doing almost the same operations (sometimes triples 
depend on tread or iteration number) working on that same graph in multiple 
iterations. Most of them mix read and write operations. 
   For all Tests with write operations they basically only wait until it is 
their turn. So all these operations are executed sequentially but in an 
undetertermined order.
   Did I miss something?
   
   In my implementation, the semapthore for the write locks ist not fair (maybe 
I should be).
   With your current benchmarks, my graph would need longer timeouts and/or a 
fair semaphore, I guess.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to