?Regarding CPU load, a single thread of execution exists in the program so (at 
most) one core is used. So if you have 8 cores, it means that it is 8 to 16 
times slower than a program able to use all the cores & CPU redundancy of the 
machine.

In my tests, indeed, a core looks fully utilized. To me, scanning 1M key-values 
per second is pretty ok, but indeed, if LMAX got 6M transactions per core per 
second, it can perhaps go up, but something tells me this will not be the 
limitation of the typical application.


Met vriendelijke groeten / Meilleures salutations / Best regards


Nicolae Marasoiu
Agile Developer

[http://signature.cegeka.com/2016/stripe-small.jpg]


E  nicolae.maras...@cegeka.com<mailto:nicolae.maras...@cegeka.com>


[http://signature.cegeka.com/2016/stripe-large.jpg]


[http://signature.cegeka.com/2016/logo.jpg]     CEGEKA 15-17 Ion Mihalache 
Blvd. Tower Center Building, 4th,5th,6th,8th,9th fl
RO-011171 Bucharest (RO), Romania
T +40 21 336 20 65
WWW.CEGEKA.COM<http://www.cegeka.com>   [LinkedIn]  
<https://www.linkedin.com/company/cegeka-romania>


________________________________
De la: Alisher Alimov <alimovalis...@gmail.com>
Trimis: 28 noiembrie 2016 15:27
Către: user@ignite.apache.org
Subiect: Performance question

Hello!

I have write and run a simple performance test to check 
IgniteCache#localEntries and found that current method is not enough fast.


Ignite ignite = Ignition.start();

CacheConfiguration<UUID, UUID> cacheConfiguration = new CacheConfiguration<>();
cacheConfiguration.setBackups(0);

IgniteCache<UUID, UUID> cache = ignite.getOrCreateCache("test.cache");

for (int i = 0; i < 1_000_000; i++) {
    cache.put(UUID.randomUUID(), UUID.randomUUID());
}


long startTime = System.currentTimeMillis();

cache.localEntries(CachePeekMode.PRIMARY).forEach(entry -> {
});


System.out.println(String.format("Complete in: %dms", 
System.currentTimeMillis() - startTime));

Reading local entries take about 1s (1000 rows per ms) that's is low.
Test was run on server with provided configuration with default Ignite configs, 
load average was about 0 and CPU was not busy more than 10%
Intel(R) Xeon(R) CPU           E5645  @ 2.40GHz


May be I do  or configure something wrong or current speed is normal?


With best regards
Alisher Alimov
alimovalis...@gmail.com<mailto:alimovalis...@gmail.com>




Reply via email to