| [ CnUnix ] in KIDS 글 쓴 이(By): kkiri (우 승 균) 날 짜 (Date): 1996년07월09일(화) 08시38분51초 KDT 제 목(Title): [질문] tooltalk에 관하여... Hello, My name is Joo, EunHee. I am a software engineer of POSCON corporation in South Korea. My working environment is SUN Sparc station/10, Solaris 2.4 and Hard disk size is 2.1 Gbytes, swap area is 150 MBytes, Main Memory is 32 MBytes. My applcation program has a critical problem concerned with tooltalk and swap space. My program composes of several processes and each process communicates by tooltalk send/receive method. All processes is always running until user kill them. But the longer process running time is, the less available swap space is left. So, I tested two tooltalk sample programs that process only sending and receiving. One just sends one-type pattern message and one integer type argument, the other just receives it. In this test, I found that using tooltalk service results in reducing the system swap space. In sample program, if sender generates tooltalk and sends message very fast, avaliable swap space is reduced faster. Tooltalk generating speed is tuned by sender program argument. That argument means sleep time between each sendings. I used UNIX command 'swap -s' or 'vmstat 5'. Please reply good solution and information. tooltalk.tar.Z file includes snd.c and rcv.c which are modified tooltalk sample program(/usr/openwin/share/src/tooltalk/demo/ttsample/ttsample1.c), README, Makefile. Test them and send mail, please. E-mail : porex@bora.dacom.co.kr |