A simple test of tokyo cabinet and tyrant's performance

阅读更多

Server:

  Redhat, CentOS release 4.8.

  Xeon(R) CPU E5504  @ 2.00GHz * 4

  8G mem

 

Client

 Winxp sp3, Petium Dual 1.6G, 2G mem

 

Tokyo Cabinet and Tyrant command:

  ttserver -dmn -pid /ttserver/ttserver.pid -log /ttserver/ttserver.log -le /ttserver/database.tct

 

The client's function is just put a map into the database. and it starts 5 threads to send messages to the server. at first the speed of request is about 6k/s. when the file size of database.tct grows up to about 400M(about 8,000,000 records), the speed of request slows down to less than 2k/s. The same thing happens even if there is only one thread that sending message to the server.  I guess this is a problem connecting with data file size.

 

However, this is an unacceptable result if the server can't provide a stable performance. maybe i should adjust some parameter of the server start command or client code..

 

你可能感兴趣的:(performance,CentOS,RedHat,UP,thread)