July 2010 (2)

Friday, July 23 2010

TCP半连接数&754CPU

backlog也就是syn queue由三方面共同决定,listen函数的backlog参数,somaxconn,tcp_max_syn_backlog 754接口的amd cpu内存控制器有限,插满三条会不稳定,可以尝试降频或变2T解决,参考 26094.pdf

Sunday, July 18 2010

filesystem tuning - xfs

database & big filesfor raid:mkfs.xfs -d sunit=xxx,swidth=xxx  sunit = strip_size(byte) / 512  swidth = sunit * nr_raid_disksmount option:noatime,nodiratime,allocsize=128M  allocsize help reduce fragmentationfrag check:xfs_bmap /path/to/filexfs_db -c frag -r /dev/sda3defrag:xfs_fsr -t  […]

Continue reading