Hiển thị các bài đăng có nhãn Tunning. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn Tunning. Hiển thị tất cả bài đăng

Chủ Nhật, 10 tháng 2, 2019

Mysql Database Performance tuning

Mysql provides a configuration file located in /etc/my.cnf. From here you can set all of the memory, table, and connection limits as well as a host of other options.
You can get the default buffer sizes used by the mysqld server with this :
shell> mysqld –help
This command produces a list of all mysqld options and configurable variables. The output includes the default values and looks something like this:

Thứ Tư, 2 tháng 1, 2019

Tuning FreeBSD to serve 100-200 thousands of connections

I also use nginx as reverse-proxy and load balancer in my project.

mbuf clusters

FreeBSD stores the network data in the mbuf clusters 2Kb each, but only 1500B are used in each cluster (the size of the Ethernet packet)

mbufs