Hi all, Do you think I am missing something there?
Best wishes, Rajiv Nishtala Sent from TypeApp On 2 Jun 2016, 16:28, at 16:28, Rajiv Nishtala <[email protected]> wrote: >hi all, > >i'm trying to run memcached on the first 48cores; and the request >generator on the remainder 48 cores. >just a note, they are on two different sockets. > >i am launching 12 instances of memcached on different ports with 4 >threads each on the localhost. > >then for scaling the twitter dataset, i could use all 12 instances in >one server file and it works fine. > >for warming the server, i had to warm one server at a time, just like >they say here ><https://www.mail-archive.com/[email protected]/msg00279.html>. > >BUT, when i'm trying to determine the max throughput and use 48 worker >threads, it says connection error >with 47 server threads it says: number of worker threads should be >divisible by number of servers. >in my case, that is true with 48 worker threads..am i missing >something? > >how many worker threads should i use? > >END=48 >for ((i=1;i<=END;i++)); do > echo $i > taskset -c 0-47 ./loader -a ../twitter_dataset/twitter_dataset_40x >-s allserver.txt -g 0.8 -T 1 -c 256 -w $i >done > > >details of allserver.txt >127.0.0.1, 11211 >127.0.0.1, 11212 >127.0.0.1, 11213 >127.0.0.1, 11214 >127.0.0.1, 11215 >127.0.0.1, 11216 >127.0.0.1, 11217 >127.0.0.1, 11218 >127.0.0.1, 11219 >127.0.0.1, 11220 >127.0.0.1, 11221 >127.0.0.1, 11222 > >how i launch memcached instances.. > > >for i in 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 >11221 11222 >do > taskset -c 48-95 ./memcached -t 4 -m 4096 -n 550 -p $i & >done > > >best wishes, > >rajiv nishtala WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received. http://www.bsc.es/disclaimer
