Does Aerospike Installation changes Kernel/System variables which affect other apps?

Hi, After I installed Aerospike (, the dequeue rate of redis client on the same machine slows down. The redis server is on different machine.
This didnt observed before the Aerospike installation. Also One more consumer dequeuing from the same redis server on different machine didnt face any issues.

There can be multiple threads upto 40 using Redis & Aerospike and belongs to same application running on Tomcat. We have tried restarting Tomcat after stopping Aerospike after which we face the same issue.

This was occuring even if the Aerospike server is stopped. Please help to find whats happening. Are there any system/kernel variables modified during Aerospike installation which affects Redis performance?

My Aerospike config is single-bin in-memory configuration and there was no instance of Aerospike installed earlier on this machine.

Please help to find the issue. Thanks in Advance

Aerospike will change two kernel params, kernel.shmmax and kernel.shmall .

Do not run two databases on the same machine, especially not Aerospike and something like Redis.

As opposed to Redis, which cannot vertically scale and requires you to run multiple instances to use your machine’s CPU cores, Aerospike is a multicore, multithreaded database, and will try to use all the resources available.

Thanks Ronen. But we are using Redis as Queue on different machine. Only the redis client in the machine which aerospike exists. Using only LPUSH & RPOP commands. I will be very much happy if Aerospike supports this datastructure. Else it would be appreciated if you can suggest low latency scalable Message Queue.

Also please suggest if I can install & run Aerospike as non root user.

Thanks in Advance

You could use taskset to make sure Aerospike doesn’t run on some of your cores. For example the following would leave the first 8 cores free:

taskset -p ffffff00 <PID of asd>

See Running as Non Root

Thank for the suggestion Ronen. Will there be any impact on aerospike performance if I increase the shmmax and shmall than the value set by aerospike during installation?

In my case, the aerospike has lowered these values during installation. I need to reset these to my original.

It should not affect you as an Aerospike CE user.

Thanks Ronen. Just for understanding may I know in what way it will affect Enterprise Edition users. I mean, in EE, will there be a performance impact on increasing this value? Or the philosophy itself entirely different. Can you please throw some light?

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.