Sounds like you're using too many FJ threads. On Mon, Mar 30, 2015 at 6:36 PM, Ivan Balashov <ibalas...@gmail.com> wrote:
> > While running the test I see that interrupts and context switches are > rather high (for a 4 cpu core box) > > r b swpd free buff cache si so bi bo in cs us sy id >> wa > > 5 0 0 2083556 11296 398380 0 0 0 0 15491 39242 58 21 >>> 21 0 >> >> 1 0 0 2110728 11304 398380 0 0 0 7 17791 42876 50 >>> 21 29 0 >> >> 0 0 0 2114272 11304 398380 0 0 0 0 22580 47400 34 >>> 15 51 0 >> >> 3 0 0 2132924 11304 398380 0 0 0 4 26861 53711 26 >>> 10 65 0 >> >> 0 0 0 2119648 11304 398380 0 0 0 2 27225 54133 26 >>> 10 64 0 >> >> > > Trying to adjust "akka.remote.default-remote-dispatcher.throughput" did > not have any noticeable effect. > > Could anyone suggest how to reduce context switches with akka remoting in > case of many small messages? > > Thanks, > > > On Monday, March 30, 2015 at 1:38:40 PM UTC+3, Ivan Balashov wrote: >> >> Hi, >> >> Running simple Ping-Pong test (http://goo.gl/6gyWsd) between two JVMs on >> same box (4 Cores, tested both on my laptop and GCE) gives me total >> throughput 20K msg/sec, which are a CPU bound processes on both sides. >> >> Any ideas how you could manage 60K with almost idle CPU? >> >> Thanks, >> >> On Saturday, August 9, 2014 at 5:08:18 PM UTC+3, Sean Zhong wrote: >>> >>> For Akka 2.3.4, 2 machines, GbE network, one machine contains a sender >>> actor, the other contains a reciver actor. Sender actor will continuously >>> send message (100 bytes each, pre-created in memory) to receiver actor with >>> simple flow control based on sliding window and acking(one ack per 100 >>> messages). >>> >>> I can only get throughput about 60K messages/second , which is much >>> slower than my expectation. The CPU usage is almost idle(3%). Network usage >>> is about 20% of the bandwidth. I use kryo serialization, and >>> singleConsumerUnboundedMailBox, 4 local dispatcher, 4 remote >>> dispatcher, default setting for netty. >>> >>> Is there performance baseline number for akka remoting in your smoke >>> test? >>> >>> >>> >>> >>> -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Cheers, √ -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.