Running two instances of Redis on a 2 core Cent OS box - is each assigned its own core ?

32 views
Skip to first unread message

Michael Dillon

unread,
Jun 8, 2016, 5:05:40 AM6/8/16
to Redis DB
Does anyone know, will CentOS assign each redis instance to its own cpu, in the example where you are running two instances on the same server, which has two cpus.

Or should I do some additional configuration at the OS level to enable this?

Or is CentOS scheduler smart enough to transparently take care of this....

Thanks in advance

Itamar Haber

unread,
Jun 8, 2016, 5:16:25 AM6/8/16
to Redis DB
Hi Michael,

I'd just leave it to the OS's scheduler, although 2 cores are at least one less than what you'd ideally want to have as the OS itself also requires some compute power.

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.



--

Itamar Haber | Chief Developer Advocate
Redis Watch Newsletter | &&(curat||edit||janit||)
Redis Labs ~/redis

Mobile: +972 (54) 567 9692
Email: ita...@redislabs.com
Twitter: @itamarhaber
Skype: itamar.haber

Blog  |  Twitter  |  LinkedIn


CharSyam

unread,
Jun 8, 2016, 5:41:54 AM6/8/16
to redi...@googlegroups.com
Hi Michael.
You can use tasklet command in Linux :)
You can assign each cpu for each redis instance.

Michael Dillon

unread,
Jun 8, 2016, 6:40:30 AM6/8/16
to Redis DB
thanks Itamar, good point.

Michael Dillon

unread,
Jun 8, 2016, 6:40:47 AM6/8/16
to Redis DB
thanks Char
Reply all
Reply to author
Forward
0 new messages