Feedback:
CPU: Intel Xeon E5606 @2.13GHz
RAM: 4GB
System: Windows server 2008, 64bit
JAVA_OPTS=-Xms256m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -Djava.awt.headless=true -Dfile.encoding=utf-8
my database size:2.5G, my repository size:40GB
100,000 nodes(folders + documents)
At first, I use the default mysql settings and got a bad performance. It taked 45-55 seconds to login openKM. I had traced the hard-disk I/O time, 100% during login time.
Following noxious' guidence, I changes 4 "innodb_" settings, and have a good performance. Now it takes 10 seconds to login openKM.
my.ini settings for mysql:
Code: Select allquery_cache_size=0
table_open_cache=2000
tmp_table_size=16M
thread_cache_size=9
myisam_max_sort_file_size=100G
myisam_sort_buffer_size=32M
key_buffer_size=8M
read_buffer_size=64K
read_rnd_buffer_size=256K
sort_buffer_size=256K
innodb_additional_mem_pool_size=16M
innodb_log_buffer_size=8M
innodb_buffer_pool_size=1042M
innodb_log_file_size=48M
innodb_autoextend_increment=64M
It's may not the best config, but it did improve the performance.
My machine does not have enough physical memory, so I can not set mysql buffer bigger.
BTW, it seems Google Chrome got a better performance browsing taxonomy folder than IE, I think is the browser cache make Chrome fast.