Skip to content
Tcl Source Code Artifact [6fd50a7aa9]
Login

Artifact [6fd50a7aa9]

Artifact 6fd50a7aa9d1d80ea90716ddb68319d62dfa1f469601d6c06d9049cb35ebf395:

Ticket change [6fd50a7aa9] - Ticket [c54e4a1aeb999fe8|c54e4a1aeb] <i>High Tcl latencies with fork() in larger systems</i> status still Open with 3 other changes by pointsman on 2023-06-13 00:41:44.
D 2023-06-13T00:41:44.946
J icomment The\sexample\sscript\sprovided\sby\sGustaf\sdemonstrates\sfor\sme\seven\son\sbare\r\nmetal\s(not\sa\svm)\sthe\sdescribed\sbehaviour.\r\n\r\nOn\sa\slaptop\swith\s12\sGByte\sphysical\sRAM\s(I'm\son\shollidays),\sdebian\s11.7\sand\sthe\sloop\r\nreduced\sto\s9\sI\sget\swhich\score-8-6-branch:\r\n\r\npipe\sopen\stook\s2ms\s(rss\s0.00\svsize\s0.01)\r\npipe\sopen\stook\s3ms\s(rss\s0.94\svsize\s0.94)\r\npipe\sopen\stook\s4ms\s(rss\s1.87\svsize\s1.87)\r\npipe\sopen\stook\s4ms\s(rss\s2.80\svsize\s2.80)\r\npipe\sopen\stook\s5ms\s(rss\s3.73\svsize\s3.73)\r\npipe\sopen\stook\s46ms\s(rss\s4.66\svsize\s4.67)\r\npipe\sopen\stook\s80ms\s(rss\s5.59\svsize\s5.60)\r\npipe\sopen\stook\s114ms\s(rss\s6.52\svsize\s6.53)\r\npipe\sopen\stook\s142ms\s(rss\s7.46\svsize\s7.46)\r\n\r\nAnd\swith\sticket-c54e4a1aeb-use_vfork\sbranch:\r\n\r\npipe\sopen\stook\s2ms\s(rss\s0.00\svsize\s0.01)\r\npipe\sopen\stook\s2ms\s(rss\s0.94\svsize\s0.94)\r\npipe\sopen\stook\s2ms\s(rss\s1.87\svsize\s1.87)\r\npipe\sopen\stook\s1ms\s(rss\s2.80\svsize\s2.80)\r\npipe\sopen\stook\s2ms\s(rss\s3.73\svsize\s3.73)\r\npipe\sopen\stook\s1ms\s(rss\s4.66\svsize\s4.67)\r\npipe\sopen\stook\s2ms\s(rss\s5.59\svsize\s5.60)\r\npipe\sopen\stook\s1ms\s(rss\s6.52\svsize\s6.53)\r\npipe\sopen\stook\s2ms\s(rss\s7.46\svsize\s7.46)\r\n\r\nThe\stest\ssuite\swith\sbranch\sticket-c54e4a1aeb-use_vfork\sruns\swith\s6\r\nbogus\sfailures\s-\sthe\sexpected\sresult\swas\s"couldn't\sfork\schild\sprocess:\r\nno\ssuch\sfile\sor\sdirectory"\sand\sthe\sresult\swas\s"couldn't\sexecute\r\n"<somefoo123>":\sno\ssuch\sfile\sor\sdirectory",\sperhaps\sbecause\sthe\serror\r\nmessage\sof\sthe\sunderlying\slibrary\scall\sis\sreturned\sand\sthat\slibrary\r\ncall\schanged.\r\n\r\nFrom\swhat\sis\spresented\sthis\sis\san\simprovement\son\slinux.\sI'm\snot\sable\r\nto\ssay,\swhat\sdrawbacks\sthat\smay\sinclude.\r\n\r\nIf\sI\stake\sright\swhat\sGustaf\swrites\sthere\sis\sa\ssimiliar\sproblem\swith\r\nexec\sand\sNaviServer\sgoes\sto\ssome\slength\sto\savoid\sthe\simpact.\r\n\r\nSo\sfrom\sNaviServer\sviewpoint\sthis\sis\sthe\sleast\sinvasive\sbecause\sthey\r\nalready\shave\stheir\snsproxy\smodule\sto\smanage\sthe\sexec\scase.\sFor\sthe\r\ncore\sthe\spatch\sshould\sperhaps\senhanced\sto\sexec?
J login pointsman
J mimetype text/x-fossil-plain
K c54e4a1aeb999fe8d878eae790243739ef05517a
U pointsman
Z a4d1f1beb524dad26e93f68aa1002b0b