<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-20227</id>
	<title>Nabble - DragonflyBSD kernel</title>
	<updated>2009-12-14T18:02:19Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/DragonflyBSD-kernel-f20227.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DragonflyBSD-kernel-f20227.html" />
	<subtitle type="html">Discussion for the kernel of the DragonFly BSD Operating System.
&lt;br&gt;&lt;br&gt;DragonFly is an operating system and environment originally based on FreeBSD. It belongs to the same class of operating system as BSD and Linux and is based on the same UNIX ideals and APIs.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26788337</id>
	<title>kernel leaking memory somewhere</title>
	<published>2009-12-14T18:02:19Z</published>
	<updated>2009-12-14T18:02:19Z</updated>
	<author>
		<name>Petr Janda-2</name>
	</author>
	<content type="html">Im running i386/master and even during minimal usage i get over 1GB of
&lt;br&gt;active memory.
&lt;br&gt;&lt;br&gt;top:
&lt;br&gt;&lt;br&gt;Memory: 1081M Active, 1368M Inact, 378M Wired, 35M Cache, 143M Buf, 644M Free
&lt;br&gt;Swap: 4096M Total, 77M Used, 4019M Free, 1% Inuse
&lt;br&gt;&lt;br&gt;&lt;br&gt;ps -aux
&lt;br&gt;&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp;6576 &amp;nbsp;1.5 &amp;nbsp;0.0 &amp;nbsp;3984 &amp;nbsp;972 &amp;nbsp; 1 &amp;nbsp;SLM &amp;nbsp;10:08AM &amp;nbsp; 0:00.29 _su (csh)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:10.64 
&lt;br&gt;(tcp_thread 1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.01 
&lt;br&gt;(udp_thread 1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(taskq_cpu 1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ifnet 1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(netisr_cpu 1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.09 &amp;nbsp;(usched 1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(dsched 1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.44 
&lt;br&gt;(softclock 1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM 818:55.34 &amp;nbsp;(idle_1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(vnlru)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:52.53 &amp;nbsp;(syncer)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(bufdaemon_hw)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(bufdaemon)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(vmdaemon)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:08.24 &amp;nbsp;(pagedaemon)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:06.86 &amp;nbsp;(hammer-S3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:06.82 &amp;nbsp;(hammer-S2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:06.82 &amp;nbsp;(hammer-S1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:06.72 &amp;nbsp;(hammer-S0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:09.15 &amp;nbsp;(hammer-M)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.02 
&lt;br&gt;(rtable_cpu 0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:01.59 
&lt;br&gt;(tcp_thread 0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.35 
&lt;br&gt;(udp_thread 0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:01.23 &amp;nbsp;(random)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 12)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.50 &amp;nbsp;(usb5)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 10)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.50 &amp;nbsp;(usb4)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.50 &amp;nbsp;(usb3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 14)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:15.98 &amp;nbsp;(ithread 11)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.50 &amp;nbsp;(usb2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 7)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.50 &amp;nbsp;(usb1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 5)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(usbtask-dr)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(usbtask-hc)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.50 &amp;nbsp;(usb0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(ciss_notify0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:16.94 &amp;nbsp;(ithread 2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 4)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 64)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 9)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(acpi_task)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 69)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:07.23 &amp;nbsp;(ithread 67)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(xpt_thrd)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(crypto
&lt;br&gt;returns)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(crypto)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(taskq_cpu 0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.10 &amp;nbsp;(ifnet 0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.01 
&lt;br&gt;(devfs_msg_core)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(disk_msg_core)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.41 
&lt;br&gt;(netisr_cpu 0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.12 &amp;nbsp;(usched 0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(dsched 0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 68)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 8:14.51 
&lt;br&gt;(softclock 0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread 0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ithread
&lt;br&gt;emerg)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM 809:06.45 &amp;nbsp;(idle_0)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.02 
&lt;br&gt;(rtable_cpu 3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:06.54 
&lt;br&gt;(tcp_thread 3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.02 
&lt;br&gt;(udp_thread 3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(taskq_cpu 3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ifnet 3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(netisr_cpu 3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.09 &amp;nbsp;(usched 3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(dsched 3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.81 
&lt;br&gt;(softclock 3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM 819:15.67 &amp;nbsp;(idle_3)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.02 
&lt;br&gt;(rtable_cpu 2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:02.49 
&lt;br&gt;(tcp_thread 2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(udp_thread 2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(taskq_cpu 2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(ifnet 2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.00 
&lt;br&gt;(netisr_cpu 2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM &amp;nbsp; 0:00.12 &amp;nbsp;(usched 2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.00 &amp;nbsp;(dsched 2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.68 
&lt;br&gt;(softclock 2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BLM &amp;nbsp;11:16PM 817:55.21 &amp;nbsp;(idle_2)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;DLs &amp;nbsp;10:16AM &amp;nbsp; 0:10.67 &amp;nbsp;(swapper)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1428 &amp;nbsp; 88 &amp;nbsp;?? &amp;nbsp;ILs &amp;nbsp;10:16AM &amp;nbsp; 0:00.17 /sbin/init --
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 102 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; 304 &amp;nbsp; &amp;nbsp;4 &amp;nbsp;?? &amp;nbsp;ILMs 10:16AM &amp;nbsp; 0:00.00 adjkerntz -i
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 328 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1756 &amp;nbsp;560 &amp;nbsp;?? &amp;nbsp;SLs &amp;nbsp;11:16PM &amp;nbsp; 0:00.10
&lt;br&gt;/usr/sbin/syslogd -ss
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 538 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;2276 &amp;nbsp;524 &amp;nbsp;?? &amp;nbsp;SLMs 11:16PM &amp;nbsp; 0:00.41
&lt;br&gt;/usr/sbin/dntpd
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 623 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;4984 &amp;nbsp;744 &amp;nbsp;?? &amp;nbsp;ILs &amp;nbsp;11:16PM &amp;nbsp; 0:00.26
&lt;br&gt;/usr/sbin/sshd
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 637 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;5484 &amp;nbsp;884 &amp;nbsp;?? &amp;nbsp;SLs &amp;nbsp;11:16PM &amp;nbsp; 0:00.57 sendmail:
&lt;br&gt;accepting connections (sendmail)
&lt;br&gt;smmsp &amp;nbsp; &amp;nbsp; &amp;nbsp;641 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;5356 &amp;nbsp;832 &amp;nbsp;?? &amp;nbsp;ILMs 11:16PM &amp;nbsp; 0:00.01 sendmail:
&lt;br&gt;Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 656 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;2620 &amp;nbsp;732 &amp;nbsp;?? &amp;nbsp;ILMs 11:16PM &amp;nbsp; 0:00.04
&lt;br&gt;/usr/sbin/cron
&lt;br&gt;pgsql &amp;nbsp; &amp;nbsp; &amp;nbsp;679 &amp;nbsp;0.0 &amp;nbsp;0.1 852176 2180 con- IL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.56
&lt;br&gt;/usr/pkg/bin/postgres -D /usr/pkg/pgsql/data
&lt;br&gt;pgsql &amp;nbsp; &amp;nbsp; &amp;nbsp;681 &amp;nbsp;0.0 &amp;nbsp;0.1 852752 1988 &amp;nbsp;?? &amp;nbsp;SLs &amp;nbsp;11:16PM &amp;nbsp; 0:04.99 postgres:
&lt;br&gt;writer process &amp;nbsp; &amp;nbsp;(postgres)
&lt;br&gt;pgsql &amp;nbsp; &amp;nbsp; &amp;nbsp;682 &amp;nbsp;0.0 &amp;nbsp;0.0 852560 1300 &amp;nbsp;?? &amp;nbsp;SLs &amp;nbsp;11:16PM &amp;nbsp; 0:03.94 postgres:
&lt;br&gt;wal writer process &amp;nbsp; &amp;nbsp;(postgres)
&lt;br&gt;pgsql &amp;nbsp; &amp;nbsp; &amp;nbsp;683 &amp;nbsp;0.0 &amp;nbsp;0.0 852784 1604 &amp;nbsp;?? &amp;nbsp;SLs &amp;nbsp;11:16PM &amp;nbsp; 0:01.54 postgres:
&lt;br&gt;autovacuum launcher process &amp;nbsp; &amp;nbsp;(postgres)
&lt;br&gt;pgsql &amp;nbsp; &amp;nbsp; &amp;nbsp;684 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;8472 1144 &amp;nbsp;?? &amp;nbsp;SLMs 11:16PM &amp;nbsp; 0:02.01 postgres:
&lt;br&gt;stats collector process &amp;nbsp; &amp;nbsp;(postgres)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 735 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1804 &amp;nbsp;444 &amp;nbsp;v0 &amp;nbsp;ILs+ 11:16PM &amp;nbsp; 0:00.01
&lt;br&gt;/usr/libexec/getty Pc ttyv0
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 736 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1804 &amp;nbsp;444 &amp;nbsp;v1 &amp;nbsp;ILs+ 11:16PM &amp;nbsp; 0:00.00
&lt;br&gt;/usr/libexec/getty Pc ttyv1
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 737 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1804 &amp;nbsp;444 &amp;nbsp;v2 &amp;nbsp;ILs+ 11:16PM &amp;nbsp; 0:00.00
&lt;br&gt;/usr/libexec/getty Pc ttyv2
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 738 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1804 &amp;nbsp;444 &amp;nbsp;v3 &amp;nbsp;ILs+ 11:16PM &amp;nbsp; 0:00.01
&lt;br&gt;/usr/libexec/getty Pc ttyv3
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 739 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1804 &amp;nbsp;444 &amp;nbsp;v4 &amp;nbsp;ILs+ 11:16PM &amp;nbsp; 0:00.01
&lt;br&gt;/usr/libexec/getty Pc ttyv4
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 740 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1804 &amp;nbsp;444 &amp;nbsp;v5 &amp;nbsp;ILs+ 11:16PM &amp;nbsp; 0:00.00
&lt;br&gt;/usr/libexec/getty Pc ttyv5
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 741 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1804 &amp;nbsp;444 &amp;nbsp;v6 &amp;nbsp;ILs+ 11:16PM &amp;nbsp; 0:00.01
&lt;br&gt;/usr/libexec/getty Pc ttyv6
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; 742 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1804 &amp;nbsp;444 &amp;nbsp;v7 &amp;nbsp;ILs+ 11:16PM &amp;nbsp; 0:00.00
&lt;br&gt;/usr/libexec/getty Pc ttyv7
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp;6568 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;7928 &amp;nbsp;880 &amp;nbsp;?? &amp;nbsp;ILs &amp;nbsp;10:08AM &amp;nbsp; 0:00.04 sshd:
&lt;br&gt;sysadmin [priv] (sshd)
&lt;br&gt;sysadmin &amp;nbsp;6570 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;7896 &amp;nbsp;956 &amp;nbsp;?? &amp;nbsp;SL &amp;nbsp; 10:08AM &amp;nbsp; 0:01.92 sshd:
&lt;br&gt;sysadmin@pts/1 (sshd)
&lt;br&gt;sysadmin &amp;nbsp;6571 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;3612 &amp;nbsp;108 &amp;nbsp; 1 &amp;nbsp;ILMs 10:08AM &amp;nbsp; 0:00.01 -tcsh (tcsh)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp;6575 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;2904 &amp;nbsp;580 &amp;nbsp; 1 &amp;nbsp;IL &amp;nbsp; 10:08AM &amp;nbsp; 0:00.01 su
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 54801 &amp;nbsp;0.0 &amp;nbsp;0.1 &amp;nbsp;7928 2404 &amp;nbsp;?? &amp;nbsp;ILs &amp;nbsp;12:27PM &amp;nbsp; 0:00.05 sshd:
&lt;br&gt;sysadmin [priv] (sshd)
&lt;br&gt;sysadmin 54803 &amp;nbsp;0.0 &amp;nbsp;0.1 &amp;nbsp;7800 1880 &amp;nbsp;?? &amp;nbsp;IL &amp;nbsp; 12:27PM &amp;nbsp; 0:00.10 sshd:
&lt;br&gt;sysadmin@pts/0 (sshd)
&lt;br&gt;sysadmin 54804 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;3612 1252 &amp;nbsp; 0 &amp;nbsp;ILMs 12:27PM &amp;nbsp; 0:00.03 -tcsh (tcsh)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 54808 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;2904 1264 &amp;nbsp; 0 &amp;nbsp;IL &amp;nbsp; 12:27PM &amp;nbsp; 0:00.01 su
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 54809 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;3904 1308 &amp;nbsp; 0 &amp;nbsp;IL+ &amp;nbsp;12:28PM &amp;nbsp; 0:00.09 _su (csh)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 55111 &amp;nbsp;0.0 &amp;nbsp;0.1 &amp;nbsp;7880 3572 &amp;nbsp;?? &amp;nbsp;SLs &amp;nbsp;12:36PM &amp;nbsp; 0:00.11
&lt;br&gt;/usr/pkg/sbin/httpd -k start
&lt;br&gt;www &amp;nbsp; &amp;nbsp; &amp;nbsp;55113 &amp;nbsp;0.0 &amp;nbsp;0.1 &amp;nbsp;7800 1892 &amp;nbsp;?? &amp;nbsp;SL &amp;nbsp; 12:36PM &amp;nbsp; 0:00.00
&lt;br&gt;/usr/pkg/sbin/httpd -k start
&lt;br&gt;www &amp;nbsp; &amp;nbsp; &amp;nbsp;55114 &amp;nbsp;0.0 &amp;nbsp;0.1 &amp;nbsp;7880 2084 &amp;nbsp;?? &amp;nbsp;IL &amp;nbsp; 12:36PM &amp;nbsp; 0:00.00
&lt;br&gt;/usr/pkg/sbin/httpd -k start
&lt;br&gt;www &amp;nbsp; &amp;nbsp; &amp;nbsp;55115 &amp;nbsp;0.0 &amp;nbsp;0.1 &amp;nbsp;7880 2088 &amp;nbsp;?? &amp;nbsp;SL &amp;nbsp; 12:36PM &amp;nbsp; 0:00.01
&lt;br&gt;/usr/pkg/sbin/httpd -k start
&lt;br&gt;www &amp;nbsp; &amp;nbsp; &amp;nbsp;55116 &amp;nbsp;0.0 &amp;nbsp;0.1 &amp;nbsp;7880 2084 &amp;nbsp;?? &amp;nbsp;IL &amp;nbsp; 12:36PM &amp;nbsp; 0:00.00
&lt;br&gt;/usr/pkg/sbin/httpd -k start
&lt;br&gt;www &amp;nbsp; &amp;nbsp; &amp;nbsp;55117 &amp;nbsp;0.0 &amp;nbsp;0.1 &amp;nbsp;7880 2084 &amp;nbsp;?? &amp;nbsp;IL &amp;nbsp; 12:36PM &amp;nbsp; 0:00.01
&lt;br&gt;/usr/pkg/sbin/httpd -k start
&lt;br&gt;www &amp;nbsp; &amp;nbsp; &amp;nbsp;55118 &amp;nbsp;0.0 &amp;nbsp;0.1 &amp;nbsp;7880 2084 &amp;nbsp;?? &amp;nbsp;IL &amp;nbsp; 12:36PM &amp;nbsp; 0:00.00
&lt;br&gt;/usr/pkg/sbin/httpd -k start
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 55220 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;2864 1004 &amp;nbsp;?? &amp;nbsp;SLMs 12:47PM &amp;nbsp; 0:00.01
&lt;br&gt;/usr/sbin/rpcbind
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 55365 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;2268 &amp;nbsp;708 &amp;nbsp;?? &amp;nbsp;ILs &amp;nbsp;12:51PM &amp;nbsp; 0:00.00
&lt;br&gt;/sbin/mountd -r
&lt;br&gt;pgsql &amp;nbsp; &amp;nbsp;55370 &amp;nbsp;0.0 &amp;nbsp;0.1 853512 4144 &amp;nbsp;?? &amp;nbsp;ILs &amp;nbsp;12:52PM &amp;nbsp; 0:00.00 postgres:
&lt;br&gt;aubill xxxx_production xxx.xx.xxx.xxx(57026) idle (postgres)
&lt;br&gt;pgsql &amp;nbsp; &amp;nbsp;55372 &amp;nbsp;0.0 &amp;nbsp;0.1 853448 4148 &amp;nbsp;?? &amp;nbsp;ILs &amp;nbsp;12:52PM &amp;nbsp; 0:00.00 postgres:
&lt;br&gt;aubill xxx_production xxx.xxx.xx.xxx(51220) idle (postgres)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 55445 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1720 &amp;nbsp;476 &amp;nbsp;?? &amp;nbsp;ILs &amp;nbsp;12:55PM &amp;nbsp; 0:00.02 nfsd:
&lt;br&gt;master (nfsd)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 55446 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; 928 &amp;nbsp;276 &amp;nbsp;?? &amp;nbsp;IL &amp;nbsp; 12:55PM &amp;nbsp; 0:00.00 nfsd:
&lt;br&gt;server (nfsd)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 55447 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; 928 &amp;nbsp;276 &amp;nbsp;?? &amp;nbsp;IL &amp;nbsp; 12:55PM &amp;nbsp; 0:00.00 nfsd:
&lt;br&gt;server (nfsd)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 55448 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; 928 &amp;nbsp;276 &amp;nbsp;?? &amp;nbsp;IL &amp;nbsp; 12:55PM &amp;nbsp; 0:00.00 nfsd:
&lt;br&gt;server (nfsd)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 55449 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; 928 &amp;nbsp;276 &amp;nbsp;?? &amp;nbsp;IL &amp;nbsp; 12:55PM &amp;nbsp; 0:00.00 nfsd:
&lt;br&gt;server (nfsd)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;0 &amp;nbsp;?? &amp;nbsp;BL &amp;nbsp; 11:16PM &amp;nbsp; 0:00.02 
&lt;br&gt;(rtable_cpu 1)
&lt;br&gt;root &amp;nbsp; &amp;nbsp; 55475 &amp;nbsp;0.0 &amp;nbsp;0.0 &amp;nbsp;1060 &amp;nbsp;560 &amp;nbsp; 1 &amp;nbsp;R1L+ &amp;nbsp;1:00PM &amp;nbsp; 0:00.00 ps -aux
&lt;br&gt;&lt;br&gt;I firstly noticed a massive spike in memory usage on a fresh install after
&lt;br&gt;running &amp;quot;hammer cleanup&amp;quot;. It went to like 1.5GB
&lt;br&gt;&lt;br&gt;Any ideas?
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/kernel-leaking-memory-somewhere-tp26788337p26788337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26771837</id>
	<title>Re: simplepbulk web page and info</title>
	<published>2009-12-13T17:19:03Z</published>
	<updated>2009-12-13T17:19:03Z</updated>
	<author>
		<name>Matthew Dillon</name>
	</author>
	<content type="html">&lt;br&gt;:I've got the wrapper script I use for building and uploading all of pkgsrc
&lt;br&gt;:on DragonFly cleaned up, and I put together a web page for it:
&lt;br&gt;:
&lt;br&gt;:&lt;a href=&quot;http://www.shiningsilence.com/simplepbulk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.shiningsilence.com/simplepbulk/&lt;/a&gt;&lt;br&gt;:
&lt;br&gt;:It's a few shell scripts, so it's easy to look at. &amp;nbsp;Changes/improvements
&lt;br&gt;:are welcomed.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Maybe also throw up some suggestions when using HAMMER, like
&lt;br&gt;&amp;nbsp; &amp;nbsp; chflags'ing it all nohistory and making sure the filesystem is
&lt;br&gt;&amp;nbsp; &amp;nbsp; given enough pruning time in the config.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Matt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Matthew Dillon 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26771837&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dillon@...&lt;/a&gt;&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/simplepbulk-web-page-and-info-tp26761240p26771837.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26761240</id>
	<title>simplepbulk web page and info</title>
	<published>2009-12-12T13:13:12Z</published>
	<updated>2009-12-12T13:13:12Z</updated>
	<author>
		<name>Justin C. Sherrill</name>
	</author>
	<content type="html">I've got the wrapper script I use for building and uploading all of pkgsrc
&lt;br&gt;on DragonFly cleaned up, and I put together a web page for it:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.shiningsilence.com/simplepbulk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.shiningsilence.com/simplepbulk/&lt;/a&gt;&lt;br&gt;&lt;br&gt;It's a few shell scripts, so it's easy to look at. &amp;nbsp;Changes/improvements
&lt;br&gt;are welcomed.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/simplepbulk-web-page-and-info-tp26761240p26761240.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26660659</id>
	<title>Re: Socket related stuff - patch available for testing</title>
	<published>2009-12-05T15:35:28Z</published>
	<updated>2009-12-05T15:35:28Z</updated>
	<author>
		<name>Matthew Dillon</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; Ok, I committed the patch with one additinal change which is to
&lt;br&gt;&amp;nbsp; &amp;nbsp; comment out the assertion causing the reported IPV6 issues.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; I tracked it down but can't fix it right now. &amp;nbsp;Basically what is
&lt;br&gt;&amp;nbsp; &amp;nbsp; happening is that IPV6 packets are being forwarded to the &amp;quot;netisr_cpu 0&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; thread, so some of the UDP and TCP processing is taking place there
&lt;br&gt;&amp;nbsp; &amp;nbsp; instead of in the tcp or udp protocol threads. &amp;nbsp;Actually, I think it
&lt;br&gt;&amp;nbsp; &amp;nbsp; might be taking place in both threads (on the same cpu) which might
&lt;br&gt;&amp;nbsp; &amp;nbsp; create its own issues.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; The chain of events starts with the netisr_register() call made in
&lt;br&gt;&amp;nbsp; &amp;nbsp; netinet6/ip6_input.c and fans out from there.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; The tcp timer assertions are being left intact as they assert the
&lt;br&gt;&amp;nbsp; &amp;nbsp; caller is on the correct cpu, which we are even though we are in the
&lt;br&gt;&amp;nbsp; &amp;nbsp; wrong protocol thread.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; I think that will work out for now. &amp;nbsp;What we really need to do is
&lt;br&gt;&amp;nbsp; &amp;nbsp; implement a proper ip6_demux.c which would then forward the packets
&lt;br&gt;&amp;nbsp; &amp;nbsp; to (at least) the proper protocol threads instead of the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;netisr_cpu 0&amp;quot; protocol thread.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Matt
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26660659p26660659.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549806</id>
	<title>Re: HAMMER cleanup / periodic(8)</title>
	<published>2009-11-27T17:32:36Z</published>
	<updated>2009-11-27T17:32:36Z</updated>
	<author>
		<name>Sdävtaker</name>
	</author>
	<content type="html">i guess that you can call an script in your crontab that does
&lt;br&gt;something like this:
&lt;br&gt;if( last_date_script_was_ran &amp;lt; today || last_date_script_was_run == null) then
&lt;br&gt;&amp;nbsp; &amp;nbsp; run clean up &amp;&amp; last_day_script_was_run := today
&lt;br&gt;fi
&lt;br&gt;you can save the last_day_script_was_run in /var/log maybe.
&lt;br&gt;&lt;br&gt;a little more complex, maybe the &amp;quot;last_time_cleanup_was_run_on_me&amp;quot; can
&lt;br&gt;be recorded in pfs metadata (if it is not there already) &amp;nbsp;and you can
&lt;br&gt;add a parameter to &amp;quot;hammer cleanup&amp;quot; so you tell it to run only if &amp;quot;x
&lt;br&gt;time passed since last run&amp;quot;.
&lt;br&gt;&lt;br&gt;Damian
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sun, Nov 22, 2009 at 10:59, Thomas Nikolajsen
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26549806&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas.nikolajsen@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; We need by default to run 'hammer cleanup' every day system is running;
&lt;br&gt;&amp;gt; also on systems not running at night.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Otherwise snapshots won't be generated and HAMMER file system fills up.
&lt;br&gt;&amp;gt; This will result in users not having the benefits from HAMMER they could.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Our present default setup is to run 'hammer cleanup' daily by periodic(8),
&lt;br&gt;&amp;gt; which runs by default every night at 3 AM (via /etc/crontab).
&lt;br&gt;&amp;gt; This is nice for systems running every night, typically servers.
&lt;br&gt;&amp;gt; But it doesn't help newbies running systems not running every night.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A year ago we had a good discussion on this topic;
&lt;br&gt;&amp;gt; many good ideas and viewpoint were presented, see
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://leaf.dragonflybsd.org/mailarchive/kernel/2008-10/index.html#00051&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leaf.dragonflybsd.org/mailarchive/kernel/2008-10/index.html#00051&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I suggest that we by default run periodic(8) at reboot, delayed by 30 minutes.
&lt;br&gt;&amp;gt; (periodic(8) run in background, like present default)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This will by default run 'hammer cleanup' (by periodic/daily/160.clean-hammer),
&lt;br&gt;&amp;gt; and also the other nice functionalities in the periodic(8) scripts,
&lt;br&gt;&amp;gt; that systems not running at night in our present default setup won't run at all.
&lt;br&gt;&amp;gt; Defaults, running periodic(8) at all and delay period, can be adjusted by user,
&lt;br&gt;&amp;gt; and periodic(8) daily shall not run multiple times a day, this has to be handled.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Doing this for a year, just using anacron(8), including periodic(8) in anacrontab,
&lt;br&gt;&amp;gt; using a delay of a few minutes, I haven't seen any problems.
&lt;br&gt;&amp;gt; (This is close to fulfill above requirements(*), good enough for my test)
&lt;br&gt;&amp;gt; Anacron(8) doesn't fulfill requirements fully and can't be used in DragonFly base
&lt;br&gt;&amp;gt; anyway (GPL licensed), but it is quite simple functionality, that we can write
&lt;br&gt;&amp;gt; ourselves, I could do it if we like it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * periodic(8) can be run more than once a day: if system is running at 3 AM and
&lt;br&gt;&amp;gt; is rebooted later the same day periodic(8) will run twice; this is rare in my use.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  -thomas
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://dfbsd.trackbsd.org.ar&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dfbsd.trackbsd.org.ar&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HAMMER-cleanup---periodic%288%29-tp26465585p26549806.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510913</id>
	<title>Re: Clean up bind commit to master, revert to vendor</title>
	<published>2009-11-25T02:59:35Z</published>
	<updated>2009-11-25T02:59:35Z</updated>
	<author>
		<name>Simon 'corecode' Schubert</name>
	</author>
	<content type="html">[X-Post to kernel@ for discussion]
&lt;br&gt;&lt;br&gt;Jan Lentfer wrote:
&lt;br&gt;&amp;gt; there was some discussion on irc about where README.DRAGONFLY and 
&lt;br&gt;&amp;gt; README.DELETED had to go.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have left it the way I did it of vendor/LESS and as it was sugested on 
&lt;br&gt;&amp;gt; irc (README.DRAGONFLY on master, README.DELETED on vendor).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But generally this should be clarified and the consensus should make 
&lt;br&gt;&amp;gt; it's way into development(7).
&lt;br&gt;&lt;br&gt;Yes, we should decide. &amp;nbsp;But both should be on the same branch, for 
&lt;br&gt;coherency.
&lt;br&gt;&lt;br&gt;Reasons for master:
&lt;br&gt;- those files don't belong to the tar ball
&lt;br&gt;&lt;br&gt;Reasons for vendor branch:
&lt;br&gt;- the READMEs describe the files (and what was removed) of the tar ball
&lt;br&gt;&lt;br&gt;I don't mind either, just coherency. &amp;nbsp;I propose to decide on what goes 
&lt;br&gt;where first, and after that do the import. &amp;nbsp;Or at least pack both files 
&lt;br&gt;into the same branch.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp;simon
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Clean-up-bind-commit-to-master%2C-revert-to-vendor-tp26510913p26510913.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26465585</id>
	<title>HAMMER cleanup / periodic(8)</title>
	<published>2009-11-22T05:59:04Z</published>
	<updated>2009-11-22T05:59:04Z</updated>
	<author>
		<name>Thomas Nikolajsen</name>
	</author>
	<content type="html">We need by default to run 'hammer cleanup' every day system is running;
&lt;br&gt;also on systems not running at night.
&lt;br&gt;&lt;br&gt;Otherwise snapshots won't be generated and HAMMER file system fills up.
&lt;br&gt;This will result in users not having the benefits from HAMMER they could.
&lt;br&gt;&lt;br&gt;Our present default setup is to run 'hammer cleanup' daily by periodic(8),
&lt;br&gt;which runs by default every night at 3 AM (via /etc/crontab).
&lt;br&gt;This is nice for systems running every night, typically servers.
&lt;br&gt;But it doesn't help newbies running systems not running every night.
&lt;br&gt;&lt;br&gt;A year ago we had a good discussion on this topic;
&lt;br&gt;many good ideas and viewpoint were presented, see
&lt;br&gt;&lt;a href=&quot;http://leaf.dragonflybsd.org/mailarchive/kernel/2008-10/index.html#00051&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leaf.dragonflybsd.org/mailarchive/kernel/2008-10/index.html#00051&lt;/a&gt;&lt;br&gt;&lt;br&gt;I suggest that we by default run periodic(8) at reboot, delayed by 30 minutes.
&lt;br&gt;(periodic(8) run in background, like present default)
&lt;br&gt;&lt;br&gt;This will by default run 'hammer cleanup' (by periodic/daily/160.clean-hammer),
&lt;br&gt;and also the other nice functionalities in the periodic(8) scripts,
&lt;br&gt;that systems not running at night in our present default setup won't run at all.
&lt;br&gt;Defaults, running periodic(8) at all and delay period, can be adjusted by user,
&lt;br&gt;and periodic(8) daily shall not run multiple times a day, this has to be handled.
&lt;br&gt;&lt;br&gt;Doing this for a year, just using anacron(8), including periodic(8) in anacrontab,
&lt;br&gt;using a delay of a few minutes, I haven't seen any problems.
&lt;br&gt;(This is close to fulfill above requirements(*), good enough for my test)
&lt;br&gt;Anacron(8) doesn't fulfill requirements fully and can't be used in DragonFly base
&lt;br&gt;anyway (GPL licensed), but it is quite simple functionality, that we can write
&lt;br&gt;ourselves, I could do it if we like it.
&lt;br&gt;&lt;br&gt;* periodic(8) can be run more than once a day: if system is running at 3 AM and
&lt;br&gt;is rebooted later the same day periodic(8) will run twice; this is rare in my use.
&lt;br&gt;&lt;br&gt;&amp;nbsp;-thomas
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HAMMER-cleanup---periodic%288%29-tp26465585p26465585.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26463972</id>
	<title>Re: Socket related stuff - patch available for testing</title>
	<published>2009-11-22T01:57:26Z</published>
	<updated>2009-11-22T01:57:26Z</updated>
	<author>
		<name>Thomas Nikolajsen</name>
	</author>
	<content type="html">&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;Yah, please upload it. &amp;nbsp;I can't reproduce it trivially, ssh
&lt;br&gt;&amp;gt;&amp;gt; localhost is working on my test box.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Uploaded to *.5 on leaf.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;This is a custom kernel (includes INCLUDE_CONFIG_FILE);
&lt;br&gt;&amp;gt;I tried to build GENERIC also, to test on that, but buildkernel failed,
&lt;br&gt;&amp;gt;haven't had time to find cause yet
&lt;br&gt;&amp;gt;(so my local repo/checkout might be hosed, or whatever).
&lt;br&gt;&lt;br&gt;GENERIC+SMP (GENERIC w/ SMP &amp; APIC_IO enabled) gives same panic;
&lt;br&gt;only with ipv6, as YONETANI suggested: 'ssh -6 ::1' panics
&lt;br&gt;('ssh -4 127.0.0.1' works).
&lt;br&gt;&lt;br&gt;Same for GENERIC, after a minor snafu in patch is corrected:
&lt;br&gt;UP kernel doesn't build with patch applied.
&lt;br&gt;(in sys/netinet/udp_usrreq.c udp_connect_oncpu() use has problem)
&lt;br&gt;&lt;br&gt;&amp;nbsp;-thomas
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26312588p26463972.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26404135</id>
	<title>HAMMER snapshot access from NFS client</title>
	<published>2009-11-18T00:21:40Z</published>
	<updated>2009-11-18T00:21:40Z</updated>
	<author>
		<name>Thomas Nikolajsen</name>
	</author>
	<content type="html">What is recommended setup for HAMMER snapshot access from NFS client?
&lt;br&gt;&lt;br&gt;It would be nice if we got a default setup, so it just worked out of the box.
&lt;br&gt;&lt;br&gt;With HAMMER version 3 we got easy default slave PFS snapshot location, nice.
&lt;br&gt;But this moved dir with snapshots symlinks out of PFS (as needed for slave PFS),
&lt;br&gt;which makes access from NFS client more convoluted.
&lt;br&gt;&lt;br&gt;Solution I can come up with is a bit convoluted:
&lt;br&gt;NFS export /var/hammer, and make small script to convert snapshot symlink,
&lt;br&gt;producing something like &amp;lt;NFS-client-PFS-mount&amp;gt;@@&amp;lt;tid&amp;gt;.
&lt;br&gt;&lt;br&gt;In HAMMER version 2-, I make symlinks with relative path names:
&lt;br&gt;in snapshots/rel: ../../@@&amp;lt;tid&amp;gt;
&lt;br&gt;&lt;br&gt;Ahh this idea could be used on HAMMER version 3: e.g.:
&lt;br&gt;client# mount -t nfs srv:/PFS /LOCAL
&lt;br&gt;client# mount -t nfs srv:/var/hammer/HAMMER/PFS /LOCAL/snapshots
&lt;br&gt;will give access to snapshots as /LOCAL/hammer/rel/snap-...
&lt;br&gt;(rel/ could also be symlinked from /var/hammer/remote/LOCAL on client)
&lt;br&gt;´snapshots´ could be another name if it collides with HAMMER version 2- use.
&lt;br&gt;Generating the rel/ symlinks could be part of ´hammer cleanup´.
&lt;br&gt;&lt;br&gt;Any more straight forward ideas?
&lt;br&gt;&lt;br&gt;&amp;nbsp;-thomas
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HAMMER-snapshot-access-from-NFS-client-tp26404135p26404135.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26404111</id>
	<title>Re: Socket related stuff - patch available for testing</title>
	<published>2009-11-18T00:17:04Z</published>
	<updated>2009-11-18T00:17:04Z</updated>
	<author>
		<name>Thomas Nikolajsen</name>
	</author>
	<content type="html">&amp;gt; &amp;nbsp; &amp;nbsp;Yah, please upload it. &amp;nbsp;I can't reproduce it trivially, ssh
&lt;br&gt;&amp;gt; localhost is working on my test box.
&lt;br&gt;&lt;br&gt;Uploaded to *.5 on leaf.
&lt;br&gt;&lt;br&gt;This is a custom kernel (includes INCLUDE_CONFIG_FILE);
&lt;br&gt;I tried to build GENERIC also, to test on that, but buildkernel failed,
&lt;br&gt;haven't had time to find cause yet
&lt;br&gt;(so my local repo/checkout might be hosed, or whatever).
&lt;br&gt;&lt;br&gt;&amp;nbsp;-thomas
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26312588p26404111.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26384337</id>
	<title>Re: Socket related stuff - patch available for testing</title>
	<published>2009-11-16T20:38:45Z</published>
	<updated>2009-11-16T20:38:45Z</updated>
	<author>
		<name>Matthew Dillon</name>
	</author>
	<content type="html">:&amp;gt; : -thomas
&lt;br&gt;:&amp;gt; :-
&lt;br&gt;:&amp;gt; :panic: assertion: port=3D&amp;curthread-&amp;gt;td_msgport in syncache socket
&lt;br&gt;:&amp;gt; 
&lt;br&gt;:&amp;gt; &amp;nbsp; &amp;nbsp;Yah, please upload it. &amp;nbsp;I can't reproduce it trivially, ssh localhost
&lt;br&gt;:&amp;gt; &amp;nbsp; &amp;nbsp;is working on my test box.
&lt;br&gt;:
&lt;br&gt;:A-ha, you have to try `ssh ::1', then. &amp;nbsp;You must have `options INET6'
&lt;br&gt;:in your kernel config file, of course.
&lt;br&gt;:
&lt;br&gt;:Cheers.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Ah, nice guess! &amp;nbsp;But it still works on my test box (Phenom x4) :-(. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; I'm sure it is a real panic, I just need a kernel core to track
&lt;br&gt;&amp;nbsp; &amp;nbsp; down WTF happened. &amp;nbsp;It should be a lot easier to track down these
&lt;br&gt;&amp;nbsp; &amp;nbsp; sorts of things now that the port is being stored in the socket
&lt;br&gt;&amp;nbsp; &amp;nbsp; structure.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Matt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Matthew Dillon 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26384337&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dillon@...&lt;/a&gt;&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26312588p26384337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26383303</id>
	<title>Re: Re: Socket related stuff - patch available for testing</title>
	<published>2009-11-16T18:07:16Z</published>
	<updated>2009-11-16T18:07:16Z</updated>
	<author>
		<name>YONETANI Tomokazu-4</name>
	</author>
	<content type="html">On Mon, Nov 16, 2009 at 05:41:01PM -0800, Matthew Dillon wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; :I have tested patch for some days, and was going to write that I see no iss=
&lt;br&gt;&amp;gt; :ues,
&lt;br&gt;&amp;gt; :when I got a panic (consistent): 'ssh localhost' panics immediately.
&lt;br&gt;&amp;gt; :
&lt;br&gt;&amp;gt; :kgdb doesn't show panic message when kernel &amp; core dump loaded;
&lt;br&gt;&amp;gt; :will upload to leaf if it is of any use.
&lt;br&gt;&amp;gt; :
&lt;br&gt;&amp;gt; :SMP kernel used, with HEAD from today.
&lt;br&gt;&amp;gt; :
&lt;br&gt;&amp;gt; : -thomas
&lt;br&gt;&amp;gt; :-
&lt;br&gt;&amp;gt; :panic: assertion: port=3D&amp;curthread-&amp;gt;td_msgport in syncache socket
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Yah, please upload it. &amp;nbsp;I can't reproduce it trivially, ssh localhost
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;is working on my test box.
&lt;/div&gt;&lt;br&gt;A-ha, you have to try `ssh ::1', then. &amp;nbsp;You must have `options INET6'
&lt;br&gt;in your kernel config file, of course.
&lt;br&gt;&lt;br&gt;Cheers.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26312588p26383303.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26383124</id>
	<title>Re: Socket related stuff - patch available for testing</title>
	<published>2009-11-16T17:41:01Z</published>
	<updated>2009-11-16T17:41:01Z</updated>
	<author>
		<name>Matthew Dillon</name>
	</author>
	<content type="html">&lt;br&gt;:I have tested patch for some days, and was going to write that I see no iss=
&lt;br&gt;:ues,
&lt;br&gt;:when I got a panic (consistent): 'ssh localhost' panics immediately.
&lt;br&gt;:
&lt;br&gt;:kgdb doesn't show panic message when kernel &amp; core dump loaded;
&lt;br&gt;:will upload to leaf if it is of any use.
&lt;br&gt;:
&lt;br&gt;:SMP kernel used, with HEAD from today.
&lt;br&gt;:
&lt;br&gt;: -thomas
&lt;br&gt;:-
&lt;br&gt;:panic: assertion: port=3D&amp;curthread-&amp;gt;td_msgport in syncache socket
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Yah, please upload it. &amp;nbsp;I can't reproduce it trivially, ssh localhost
&lt;br&gt;&amp;nbsp; &amp;nbsp;is working on my test box.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Matt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Matthew Dillon 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383124&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dillon@...&lt;/a&gt;&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26312588p26383124.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26381370</id>
	<title>Re: Socket related stuff - patch available for testing</title>
	<published>2009-11-16T14:51:15Z</published>
	<updated>2009-11-16T14:51:15Z</updated>
	<author>
		<name>Thomas Nikolajsen</name>
	</author>
	<content type="html">I have tested patch for some days, and was going to write that I see no issues,
&lt;br&gt;when I got a panic (consistent): 'ssh localhost' panics immediately.
&lt;br&gt;&lt;br&gt;kgdb doesn't show panic message when kernel &amp; core dump loaded;
&lt;br&gt;will upload to leaf if it is of any use.
&lt;br&gt;&lt;br&gt;SMP kernel used, with HEAD from today.
&lt;br&gt;&lt;br&gt;&amp;nbsp;-thomas
&lt;br&gt;-
&lt;br&gt;panic: assertion: port=&amp;curthread-&amp;gt;td_msgport in syncache socket
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26312588p26381370.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26351591</id>
	<title>Re: porting tmpfs</title>
	<published>2009-11-14T08:32:27Z</published>
	<updated>2009-11-14T08:32:27Z</updated>
	<author>
		<name>Nikita Glukhov</name>
	</author>
	<content type="html">&amp;gt; From where is mag_purge() being called? It indeed seems as if the
&lt;br&gt;&amp;gt; caller didn't enter the critical section.
&lt;br&gt;&lt;br&gt;mag_purge() is called from objcache_destroy(). objcache_destroy() as
&lt;br&gt;well as maglist_purge() doesn't call crit_enter().
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/porting-tmpfs-tp26348986p26351591.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26349405</id>
	<title>Re: porting tmpfs</title>
	<published>2009-11-14T03:48:55Z</published>
	<updated>2009-11-14T03:48:55Z</updated>
	<author>
		<name>Alex Hornung</name>
	</author>
	<content type="html">Good to hear from you again!
&lt;br&gt;&lt;br&gt;&amp;gt; Also I don’t understand why Alex Hornung has removed tmpfs_spec_vnops.
&lt;br&gt;&amp;gt; Without adding this ops call to mknod() ends with panic. (I have to
&lt;br&gt;&amp;gt; run fsstress with option “–f mknod=0”.)
&lt;br&gt;&lt;br&gt;In short, because of devfs. mknod is not needed, and shouldn't be
&lt;br&gt;used, as nodes created with it won't work anyways.
&lt;br&gt;&lt;br&gt;&amp;gt; Next I tried to use objcache instead of plain kmalloc() to allocate
&lt;br&gt;&amp;gt; tmpfs nodes and direntries.  But when objcache is destroyed during
&lt;br&gt;&amp;gt; unmount, there is a crit_panic &amp;quot;td_pri is/would-go negative! -26&amp;quot;
&lt;br&gt;&amp;gt; caused by mag_purge() calling crit_exit() at objcache.c. It seems that
&lt;br&gt;&amp;gt; mag_purge() is not called from the critical section as it is expected.
&lt;br&gt;&lt;br&gt;From where is mag_purge() being called? It indeed seems as if the
&lt;br&gt;caller didn't enter the critical section.
&lt;br&gt;&lt;br&gt;&amp;gt; 2 diffs to Alex Hornung's tree are attached: first uses kmalloc(),
&lt;br&gt;&amp;gt; second uses objcache.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;When I've some time, I'll add your patches to the repo, but in
&lt;br&gt;general, I would recommend you contact Simon &amp;quot;corecode&amp;quot; Schubert or
&lt;br&gt;Matt Dillon so you can get a leaf account, where you can keep your own
&lt;br&gt;repository.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Alex
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/porting-tmpfs-tp26348986p26349405.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26348986</id>
	<title>porting tmpfs</title>
	<published>2009-11-14T02:39:33Z</published>
	<updated>2009-11-14T02:39:33Z</updated>
	<author>
		<name>Nikita Glukhov</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;In July, I’ve fixed file truncating bug. &amp;nbsp;The problem was the lack of
&lt;br&gt;a call to vtruncbuf() in tmpfs_reg_resize(). &amp;nbsp;Now tmpfs survives
&lt;br&gt;testing with fsx and fsstress. &amp;nbsp;But also I found some bug at
&lt;br&gt;fsstress.c: in function creat_f() line 1684 &amp;quot;add_to_flist(type, id,
&lt;br&gt;parid);&amp;quot; must be after the following line &amp;quot;#endif&amp;quot;. &amp;nbsp;Without this
&lt;br&gt;change fsstress does not remember files that it is created and no
&lt;br&gt;reading/writing is performed. (“no filename” error is displayed in
&lt;br&gt;verbose mode.)
&lt;br&gt;&lt;br&gt;Also I don’t understand why Alex Hornung has removed tmpfs_spec_vnops.
&lt;br&gt;Without adding this ops call to mknod() ends with panic. (I have to
&lt;br&gt;run fsstress with option “–f mknod=0”.)
&lt;br&gt;&lt;br&gt;Next I tried to use objcache instead of plain kmalloc() to allocate
&lt;br&gt;tmpfs nodes and direntries. &amp;nbsp;But when objcache is destroyed during
&lt;br&gt;unmount, there is a crit_panic &amp;quot;td_pri is/would-go negative! -26&amp;quot;
&lt;br&gt;caused by mag_purge() calling crit_exit() at objcache.c. It seems that
&lt;br&gt;mag_purge() is not called from the critical section as it is expected.
&lt;br&gt;&lt;br&gt;tmpfs now really takes double memory space. I tried to implement page
&lt;br&gt;moving between VM objects but I’ve never seen buffer passed to
&lt;br&gt;tmpfs_strategy() with B_RELBUF set. All my attempts to modify buffer
&lt;br&gt;flags in tmpfs_read() end with global deadlock.
&lt;br&gt;&lt;br&gt;2 diffs to Alex Hornung's tree are attached: first uses kmalloc(),
&lt;br&gt;second uses objcache.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;tmpfs.diff&lt;/strong&gt; (23K) &lt;a href=&quot;http://old.nabble.com/attachment/26348986/0/tmpfs.diff&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;tmpfs-objcache.diff&lt;/strong&gt; (28K) &lt;a href=&quot;http://old.nabble.com/attachment/26348986/1/tmpfs-objcache.diff&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/porting-tmpfs-tp26348986p26348986.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26322085</id>
	<title>Re: Socket related stuff - patch available for testing</title>
	<published>2009-11-12T08:38:55Z</published>
	<updated>2009-11-12T08:38:55Z</updated>
	<author>
		<name>Matthew Dillon</name>
	</author>
	<content type="html">&lt;br&gt;:Hi Matt,
&lt;br&gt;:
&lt;br&gt;:It seems that a hammer fix has slipped into your tcp patch. See the
&lt;br&gt;:end of the tcp01.patch:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Oops. &amp;nbsp;Ok, I took it out.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Matt
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26312588p26322085.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315904</id>
	<title>Re: Socket related stuff - patch available for testing</title>
	<published>2009-11-12T01:35:39Z</published>
	<updated>2009-11-12T01:35:39Z</updated>
	<author>
		<name>Antonio Huete Jimenez</name>
	</author>
	<content type="html">Hi Matt,
&lt;br&gt;&lt;br&gt;It seems that a hammer fix has slipped into your tcp patch. See the
&lt;br&gt;end of the tcp01.patch:
&lt;br&gt;&lt;br&gt;diff --git a/sys/vfs/hammer/hammer_btree.c b/sys/vfs/hammer/hammer_btree.c
&lt;br&gt;index 6ee1e1a..050d4a2 100644
&lt;br&gt;--- a/sys/vfs/hammer/hammer_btree.c
&lt;br&gt;+++ b/sys/vfs/hammer/hammer_btree.c
&lt;br&gt;@@ -2226,9 +2226,10 @@ btree_remove(hammer_cursor_t cursor)
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Antonio Huete
&lt;br&gt;&lt;br&gt;2009/11/12 Matthew Dillon &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315904&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dillon@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;    Here's a patch, it needs some serious testing:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        fetch &lt;a href=&quot;http://apollo.backplane.com/DFlyMisc/tcp01.patch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://apollo.backplane.com/DFlyMisc/tcp01.patch&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    The patch:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Moves the socket pointer into the netmsg base structure, even
&lt;br&gt;&amp;gt;          though some things don't use it, I know
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Adds a lwkt_port pointer to the socket structure and initializes
&lt;br&gt;&amp;gt;          it to cpu0_soport()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Expects network protocols to set so-&amp;gt;so_port in their attach
&lt;br&gt;&amp;gt;          functions, plus I do that for tcp and udp.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Performs message chasing when the protocol port changes due to
&lt;br&gt;&amp;gt;          e.g.  a connect() or an implied connect or (I think) also an
&lt;br&gt;&amp;gt;          implied binding to INADDR_ANY.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;          If a number of messages for a socket have built up on a protocol
&lt;br&gt;&amp;gt;          thread and some operation in the protocol changes the socket's
&lt;br&gt;&amp;gt;          protocol thread (aka implied connect), then any other messages
&lt;br&gt;&amp;gt;          queued to that protocol thread, or new messages which race the
&lt;br&gt;&amp;gt;          change, will automatically be forwarded to the correct protocol
&lt;br&gt;&amp;gt;          thread when they are encountered.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Fixes implied connects for TCP.  This is when you use sendmsg()
&lt;br&gt;&amp;gt;          with an address to imply a connect along with data, so data can
&lt;br&gt;&amp;gt;          be sent along with the SYN.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;          Implied connects were completely broken and would crash the kernel.
&lt;br&gt;&amp;gt;          Example:  finger user@target  (instant crash).  finger uses the
&lt;br&gt;&amp;gt;          implied connect feature.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Cleans up a bunch of stuff.  I was almost able to remove
&lt;br&gt;&amp;gt;          the proto-&amp;gt;pr_mport field entirely but sendmsg() still needs
&lt;br&gt;&amp;gt;          to use it in the case where the passed address is non-NULL (aka
&lt;br&gt;&amp;gt;          sendto() style).  All other code that used to call proto-&amp;gt;pr_mport()
&lt;br&gt;&amp;gt;          now simply snarf the port out of so-&amp;gt;so_port.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;          The mport functions themselves now basically just return so_port.
&lt;br&gt;&amp;gt;          I left the sendmsg code intact just in case we wanted to optimize
&lt;br&gt;&amp;gt;          it later on for UDP.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    I found a few other bugs in the code but haven't fixed them yet.  UDP
&lt;br&gt;&amp;gt;    is not MPSAFE due to the global inpcbinfo (udbinfo) structure it uses.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    This patch does need testing.  I don't know what I might have blown up.
&lt;br&gt;&amp;gt;    It's fairly straight forward so I would also appreciate a code review.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;                                                -Matt
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26312588p26315904.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26313165</id>
	<title>Re: Socket related stuff - patch available for testing</title>
	<published>2009-11-11T20:05:22Z</published>
	<updated>2009-11-11T20:05:22Z</updated>
	<author>
		<name>Edward O'Callaghan</name>
	</author>
	<content type="html">Looks good Matt,
&lt;br&gt;&lt;br&gt;Just my quick review,
&lt;br&gt;I didn't notice anything obvious, although patch is fairly large.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Edward.
&lt;br&gt;&lt;br&gt;2009/11/12 Matthew Dillon &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313165&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dillon@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;    Here's a patch, it needs some serious testing:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        fetch &lt;a href=&quot;http://apollo.backplane.com/DFlyMisc/tcp01.patch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://apollo.backplane.com/DFlyMisc/tcp01.patch&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    The patch:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Moves the socket pointer into the netmsg base structure, even
&lt;br&gt;&amp;gt;          though some things don't use it, I know
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Adds a lwkt_port pointer to the socket structure and initializes
&lt;br&gt;&amp;gt;          it to cpu0_soport()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Expects network protocols to set so-&amp;gt;so_port in their attach
&lt;br&gt;&amp;gt;          functions, plus I do that for tcp and udp.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Performs message chasing when the protocol port changes due to
&lt;br&gt;&amp;gt;          e.g.  a connect() or an implied connect or (I think) also an
&lt;br&gt;&amp;gt;          implied binding to INADDR_ANY.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;          If a number of messages for a socket have built up on a protocol
&lt;br&gt;&amp;gt;          thread and some operation in the protocol changes the socket's
&lt;br&gt;&amp;gt;          protocol thread (aka implied connect), then any other messages
&lt;br&gt;&amp;gt;          queued to that protocol thread, or new messages which race the
&lt;br&gt;&amp;gt;          change, will automatically be forwarded to the correct protocol
&lt;br&gt;&amp;gt;          thread when they are encountered.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Fixes implied connects for TCP.  This is when you use sendmsg()
&lt;br&gt;&amp;gt;          with an address to imply a connect along with data, so data can
&lt;br&gt;&amp;gt;          be sent along with the SYN.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;          Implied connects were completely broken and would crash the kernel.
&lt;br&gt;&amp;gt;          Example:  finger user@target  (instant crash).  finger uses the
&lt;br&gt;&amp;gt;          implied connect feature.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        * Cleans up a bunch of stuff.  I was almost able to remove
&lt;br&gt;&amp;gt;          the proto-&amp;gt;pr_mport field entirely but sendmsg() still needs
&lt;br&gt;&amp;gt;          to use it in the case where the passed address is non-NULL (aka
&lt;br&gt;&amp;gt;          sendto() style).  All other code that used to call proto-&amp;gt;pr_mport()
&lt;br&gt;&amp;gt;          now simply snarf the port out of so-&amp;gt;so_port.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;          The mport functions themselves now basically just return so_port.
&lt;br&gt;&amp;gt;          I left the sendmsg code intact just in case we wanted to optimize
&lt;br&gt;&amp;gt;          it later on for UDP.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    I found a few other bugs in the code but haven't fixed them yet.  UDP
&lt;br&gt;&amp;gt;    is not MPSAFE due to the global inpcbinfo (udbinfo) structure it uses.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    This patch does need testing.  I don't know what I might have blown up.
&lt;br&gt;&amp;gt;    It's fairly straight forward so I would also appreciate a code review.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;                                                -Matt
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-- 
&lt;br&gt;Edward O'Callaghan
&lt;br&gt;&lt;a href=&quot;http://www.auroraux.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.auroraux.org/&lt;/a&gt;&lt;br&gt;eocallaghan at auroraux dot org
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26312588p26313165.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26312588</id>
	<title>Re: Socket related stuff - patch available for testing</title>
	<published>2009-11-11T18:45:06Z</published>
	<updated>2009-11-11T18:45:06Z</updated>
	<author>
		<name>Matthew Dillon</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; Here's a patch, it needs some serious testing:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fetch &lt;a href=&quot;http://apollo.backplane.com/DFlyMisc/tcp01.patch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://apollo.backplane.com/DFlyMisc/tcp01.patch&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; The patch:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * Moves the socket pointer into the netmsg base structure, even
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; though some things don't use it, I know
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * Adds a lwkt_port pointer to the socket structure and initializes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; it to cpu0_soport()
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * Expects network protocols to set so-&amp;gt;so_port in their attach
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; functions, plus I do that for tcp and udp.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * Performs message chasing when the protocol port changes due to
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.g. &amp;nbsp;a connect() or an implied connect or (I think) also an
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; implied binding to INADDR_ANY.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If a number of messages for a socket have built up on a protocol
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; thread and some operation in the protocol changes the socket's
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protocol thread (aka implied connect), then any other messages
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; queued to that protocol thread, or new messages which race the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; change, will automatically be forwarded to the correct protocol
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; thread when they are encountered.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * Fixes implied connects for TCP. &amp;nbsp;This is when you use sendmsg()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; with an address to imply a connect along with data, so data can
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; be sent along with the SYN.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Implied connects were completely broken and would crash the kernel.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Example: &amp;nbsp;finger user@target &amp;nbsp;(instant crash). &amp;nbsp;finger uses the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; implied connect feature.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * Cleans up a bunch of stuff. &amp;nbsp;I was almost able to remove
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the proto-&amp;gt;pr_mport field entirely but sendmsg() still needs
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; to use it in the case where the passed address is non-NULL (aka
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sendto() style). &amp;nbsp;All other code that used to call proto-&amp;gt;pr_mport()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; now simply snarf the port out of so-&amp;gt;so_port.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The mport functions themselves now basically just return so_port.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I left the sendmsg code intact just in case we wanted to optimize
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; it later on for UDP.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; I found a few other bugs in the code but haven't fixed them yet. &amp;nbsp;UDP
&lt;br&gt;&amp;nbsp; &amp;nbsp; is not MPSAFE due to the global inpcbinfo (udbinfo) structure it uses.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; This patch does need testing. &amp;nbsp;I don't know what I might have blown up.
&lt;br&gt;&amp;nbsp; &amp;nbsp; It's fairly straight forward so I would also appreciate a code review.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Matt
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Socket-related-stuff---patch-available-for-testing-tp26312588p26312588.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26308177</id>
	<title>Socket related stuff</title>
	<published>2009-11-11T12:30:59Z</published>
	<updated>2009-11-11T12:30:59Z</updated>
	<author>
		<name>Matthew Dillon</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; I hit another race in the TCP connect code related to implied
&lt;br&gt;&amp;nbsp; &amp;nbsp; connects on sendmsg().
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; I am going to be changing the so_mport stuff a bit to improve code
&lt;br&gt;&amp;nbsp; &amp;nbsp; flow and fix the issue as well as other issues where sockets have
&lt;br&gt;&amp;nbsp; &amp;nbsp; to migrate between cpus. &amp;nbsp;This will also improve performance as the
&lt;br&gt;&amp;nbsp; &amp;nbsp; target message port will be cached in the socket structure. &amp;nbsp;It will
&lt;br&gt;&amp;nbsp; &amp;nbsp; also allow us to do things like spread unix domain sockets and
&lt;br&gt;&amp;nbsp; &amp;nbsp; possibly even socketpairs across multiple cpus.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; I will be storing the target port in the socket structure and will
&lt;br&gt;&amp;nbsp; &amp;nbsp; modify the message service loop to forward messages that wind up on
&lt;br&gt;&amp;nbsp; &amp;nbsp; the wrong port (due to the protocol changing the port during e.g.
&lt;br&gt;&amp;nbsp; &amp;nbsp; a connect()).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; This will remove a ton of special cases. &amp;nbsp;One special case will be
&lt;br&gt;&amp;nbsp; &amp;nbsp; added to synchronize port changes. &amp;nbsp;For example, if a ton of sendmsg()
&lt;br&gt;&amp;nbsp; &amp;nbsp; calls are made (and the first was for an implied connect), then when
&lt;br&gt;&amp;nbsp; &amp;nbsp; the port is changed the socket will have to ensure that no new
&lt;br&gt;&amp;nbsp; &amp;nbsp; messages are queued to the new port until all messages sitting on the
&lt;br&gt;&amp;nbsp; &amp;nbsp; old port have been properly forwarded.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Matt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Matthew Dillon 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308177&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dillon@...&lt;/a&gt;&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Socket-related-stuff-tp26308177p26308177.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26292914</id>
	<title>Re: hammer errors</title>
	<published>2009-11-10T14:48:57Z</published>
	<updated>2009-11-10T14:48:57Z</updated>
	<author>
		<name>Sascha Wildner</name>
	</author>
	<content type="html">Matthew Dillon schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; :So my question is: What are my next steps in order to help resolve this 
&lt;br&gt;&amp;gt; :issue? Is there any way to get e.g. to the names of the files affected 
&lt;br&gt;&amp;gt; :by this problem from the data which is output by 'hammer show'?
&lt;br&gt;&amp;gt; :
&lt;br&gt;&amp;gt; :So far the only thing I've done is to disable nightly hammer cleanup 
&lt;br&gt;&amp;gt; :because DragonFly, upon encountering a CRC error, will unfortunately 
&lt;br&gt;&amp;gt; :simply drop to the debugger without panicing, so this doesn't get caught 
&lt;br&gt;&amp;gt; :by DDB_UNATTENDED as far as I can tell (Matt, are there any plans to 
&lt;br&gt;&amp;gt; :change this unpleasant behavior?). And I won't be near that box until 
&lt;br&gt;&amp;gt; :next weekend.
&lt;br&gt;&amp;gt; :
&lt;br&gt;&amp;gt; :Regards,
&lt;br&gt;&amp;gt; :Sascha
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I fixed the behavior in current. &amp;nbsp;There is now a sysctl which
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; controls whether it drops into the debugger or not (and it does not
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; by default). &amp;nbsp;Though it doesn't panic... maybe the sysctl should be
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; modified to give it the ability to panic instead of propagating an
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; error code up the call chain. &amp;nbsp;The filesystem still drops into
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read-only mode if an error is encountered.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; What you want to do now is run 'hammer -f ... show | less -B' and
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; search for B, as in '/^B'. &amp;nbsp;less -B uses a fixed buffer so if you
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; scroll down you basically cannot scroll back up (by much), which allows
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; you to pipe gigabytes and gigabytes of text through it without it
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; malloc()ing itself into oblivion. &amp;nbsp;You want to try to find the problem
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; area and get more context out of it, such as the object id. &amp;nbsp;And also
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; to determine whether the problem area is real or not.
&lt;/div&gt;&lt;br&gt;OK, here's some more context from the errors. Is that enough? I fear I'm 
&lt;br&gt;not used enough to reading hammer show output. I will re-check the 
&lt;br&gt;filesystem in an unmounted state on the weekend.
&lt;br&gt;&lt;br&gt;G------ ELM 24 R obj=000000011164da5c key=000000000c250000 lo=00040002 
&lt;br&gt;rt=10 ot=02
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tids 0000000111655c50:0000000000000000
&lt;br&gt;B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataoff=a00000714d120000/65536 crc=7e4f7545
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fills=z10:58010=100%
&lt;br&gt;&lt;br&gt;G------ ELM &amp;nbsp;0 R obj=000000011164da5c key=00000000302e0000 lo=00040002 
&lt;br&gt;rt=10 ot=02
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tids 0000000111656eb0:0000000000000000
&lt;br&gt;B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataoff=a000007171380000/65536 crc=616b1cc1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fills=z10:58082=100%
&lt;br&gt;&lt;br&gt;obj is the same for both even though they are in different parts of the 
&lt;br&gt;hammer show output.
&lt;br&gt;&lt;br&gt;Sascha
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://yoyodyne.ath.cx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://yoyodyne.ath.cx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/hammer-errors-tp26283873p26292914.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26286917</id>
	<title>Re: hammer errors</title>
	<published>2009-11-10T08:41:18Z</published>
	<updated>2009-11-10T08:41:18Z</updated>
	<author>
		<name>Matthew Dillon</name>
	</author>
	<content type="html">:Hi,
&lt;br&gt;:
&lt;br&gt;:ever since the last time I had CRC problems on my router box, I've 
&lt;br&gt;:developed the habit of doing a daily 'hammer -f /dev/ad4s1d show |&amp; grep 
&lt;br&gt;:&amp;quot;^B&amp;quot;' to see if any new errors crept up, and today I found:
&lt;br&gt;:
&lt;br&gt;:yoyodyne# hammer -f /dev/ad4s1d show |&amp; grep &amp;quot;^B&amp;quot;
&lt;br&gt;:B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataoff=a00000714d120000/65536 crc=7e4f7545
&lt;br&gt;:B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataoff=a000007171380000/65536 crc=616b1cc1
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; The question is whether it is real or not. &amp;nbsp;If the filesystem is
&lt;br&gt;&amp;nbsp; &amp;nbsp; mounted live then the show command could be catching things in
&lt;br&gt;&amp;nbsp; &amp;nbsp; odd states.
&lt;br&gt;&lt;br&gt;:Console log for the recent days is:
&lt;br&gt;:
&lt;br&gt;:Nov &amp;nbsp;7 03:15:19 &amp;lt;kern.crit&amp;gt; yoyodyne kernel: HAMMER: Warning: rebalance 
&lt;br&gt;:caught race against propagate
&lt;br&gt;:...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; None of those are serious. &amp;nbsp;Basically just debug messages that will
&lt;br&gt;&amp;nbsp; &amp;nbsp; be removed soon. &amp;nbsp;The emergency page allocation for BIO is unrelated
&lt;br&gt;&amp;nbsp; &amp;nbsp; to the filesystem code. &amp;nbsp;It's also actually just a warning (telling me
&lt;br&gt;&amp;nbsp; &amp;nbsp; that something is eating too many free VM pages).
&lt;br&gt;&lt;br&gt;:So my question is: What are my next steps in order to help resolve this 
&lt;br&gt;:issue? Is there any way to get e.g. to the names of the files affected 
&lt;br&gt;:by this problem from the data which is output by 'hammer show'?
&lt;br&gt;:
&lt;br&gt;:So far the only thing I've done is to disable nightly hammer cleanup 
&lt;br&gt;:because DragonFly, upon encountering a CRC error, will unfortunately 
&lt;br&gt;:simply drop to the debugger without panicing, so this doesn't get caught 
&lt;br&gt;:by DDB_UNATTENDED as far as I can tell (Matt, are there any plans to 
&lt;br&gt;:change this unpleasant behavior?). And I won't be near that box until 
&lt;br&gt;:next weekend.
&lt;br&gt;:
&lt;br&gt;:Regards,
&lt;br&gt;:Sascha
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; I fixed the behavior in current. &amp;nbsp;There is now a sysctl which
&lt;br&gt;&amp;nbsp; &amp;nbsp; controls whether it drops into the debugger or not (and it does not
&lt;br&gt;&amp;nbsp; &amp;nbsp; by default). &amp;nbsp;Though it doesn't panic... maybe the sysctl should be
&lt;br&gt;&amp;nbsp; &amp;nbsp; modified to give it the ability to panic instead of propagating an
&lt;br&gt;&amp;nbsp; &amp;nbsp; error code up the call chain. &amp;nbsp;The filesystem still drops into
&lt;br&gt;&amp;nbsp; &amp;nbsp; read-only mode if an error is encountered.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; What you want to do now is run 'hammer -f ... show | less -B' and
&lt;br&gt;&amp;nbsp; &amp;nbsp; search for B, as in '/^B'. &amp;nbsp;less -B uses a fixed buffer so if you
&lt;br&gt;&amp;nbsp; &amp;nbsp; scroll down you basically cannot scroll back up (by much), which allows
&lt;br&gt;&amp;nbsp; &amp;nbsp; you to pipe gigabytes and gigabytes of text through it without it
&lt;br&gt;&amp;nbsp; &amp;nbsp; malloc()ing itself into oblivion. &amp;nbsp;You want to try to find the problem
&lt;br&gt;&amp;nbsp; &amp;nbsp; area and get more context out of it, such as the object id. &amp;nbsp;And also
&lt;br&gt;&amp;nbsp; &amp;nbsp; to determine whether the problem area is real or not.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Again the filesystem has to be idle and it would be even better if it
&lt;br&gt;&amp;nbsp; &amp;nbsp; were offline entirely.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Matt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Matthew Dillon 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26286917&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dillon@...&lt;/a&gt;&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/hammer-errors-tp26283873p26286917.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26283873</id>
	<title>hammer errors</title>
	<published>2009-11-10T05:47:51Z</published>
	<updated>2009-11-10T05:47:51Z</updated>
	<author>
		<name>Sascha Wildner</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;ever since the last time I had CRC problems on my router box, I've 
&lt;br&gt;developed the habit of doing a daily 'hammer -f /dev/ad4s1d show |&amp; grep 
&lt;br&gt;&amp;quot;^B&amp;quot;' to see if any new errors crept up, and today I found:
&lt;br&gt;&lt;br&gt;yoyodyne# hammer -f /dev/ad4s1d show |&amp; grep &amp;quot;^B&amp;quot;
&lt;br&gt;B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataoff=a00000714d120000/65536 crc=7e4f7545
&lt;br&gt;B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataoff=a000007171380000/65536 crc=616b1cc1
&lt;br&gt;&lt;br&gt;Console log for the recent days is:
&lt;br&gt;&lt;br&gt;Nov &amp;nbsp;7 03:15:19 &amp;lt;kern.crit&amp;gt; yoyodyne kernel: HAMMER: Warning: rebalance 
&lt;br&gt;caught race against propagate
&lt;br&gt;Nov &amp;nbsp;7 03:15:19 &amp;lt;kern.crit&amp;gt; yoyodyne last message repeated 2 times
&lt;br&gt;Nov &amp;nbsp;8 03:05:33 &amp;lt;kern.crit&amp;gt; yoyodyne kernel: bio_page_alloc: WARNING 
&lt;br&gt;emergency page allocation
&lt;br&gt;Nov &amp;nbsp;8 03:19:41 &amp;lt;kern.info&amp;gt; yoyodyne kernel: nfs send error 32 for 
&lt;br&gt;server 192.168.0.10:/backup
&lt;br&gt;Nov &amp;nbsp;8 03:19:41 &amp;lt;kern.info&amp;gt; yoyodyne kernel: receive error 54 from nfs 
&lt;br&gt;server 192.168.0.10:/backup
&lt;br&gt;Nov &amp;nbsp;9 03:56:32 &amp;lt;kern.crit&amp;gt; yoyodyne kernel: Warning: vfsync_bp skipping 
&lt;br&gt;dirty buffer 0xc2706098
&lt;br&gt;Nov &amp;nbsp;9 03:57:03 &amp;lt;kern.crit&amp;gt; yoyodyne kernel: Warning: vfsync_bp skipping 
&lt;br&gt;dirty buffer 0xc26eb26c
&lt;br&gt;&lt;br&gt;smartctl -a /dev/ad4 doesn't report any problems.
&lt;br&gt;&lt;br&gt;The box is running 2.4.1 (v2.4.1.8.g93de5-RELEASE, to be specific).
&lt;br&gt;&lt;br&gt;So my question is: What are my next steps in order to help resolve this 
&lt;br&gt;issue? Is there any way to get e.g. to the names of the files affected 
&lt;br&gt;by this problem from the data which is output by 'hammer show'?
&lt;br&gt;&lt;br&gt;So far the only thing I've done is to disable nightly hammer cleanup 
&lt;br&gt;because DragonFly, upon encountering a CRC error, will unfortunately 
&lt;br&gt;simply drop to the debugger without panicing, so this doesn't get caught 
&lt;br&gt;by DDB_UNATTENDED as far as I can tell (Matt, are there any plans to 
&lt;br&gt;change this unpleasant behavior?). And I won't be near that box until 
&lt;br&gt;next weekend.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Sascha
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://yoyodyne.ath.cx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://yoyodyne.ath.cx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/hammer-errors-tp26283873p26283873.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261088</id>
	<title>Re: HAMMER version 4 work in progress (NOT for production systems)</title>
	<published>2009-11-08T20:09:36Z</published>
	<updated>2009-11-08T20:09:36Z</updated>
	<author>
		<name>Matthew Dillon</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; Here's an update on the version 4 WIP testing.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; I pulled the SATA cable on the drive a bunch of times and forced HAMMER
&lt;br&gt;&amp;nbsp; &amp;nbsp; to go into crash recovery and it seemed to do a good job.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; I will probably implement the actual REDO as version 5. &amp;nbsp;There's already
&lt;br&gt;&amp;nbsp; &amp;nbsp; plenty in version 4 related to the UNDO FIFO changes to support faster
&lt;br&gt;&amp;nbsp; &amp;nbsp; flushes and the later REDO to warrent its own version.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; However, I want to do another weeks worth of testing for version 4
&lt;br&gt;&amp;nbsp; &amp;nbsp; to be sure. &amp;nbsp;Version 4 is still WIP and is not yet ready for prime
&lt;br&gt;&amp;nbsp; &amp;nbsp; time.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Matt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Matthew Dillon 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261088&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dillon@...&lt;/a&gt;&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HAMMER-version-4-work-in-progress-%28NOT-for-production-systems%29-tp26157019p26261088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26217467</id>
	<title>Re: Analysis on make parallelism for buildworld</title>
	<published>2009-11-05T07:53:06Z</published>
	<updated>2009-11-05T07:53:06Z</updated>
	<author>
		<name>Saifi Khan-6</name>
	</author>
	<content type="html">On Tue, 20 Oct 2009, Simon 'corecode' Schubert wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hey,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; the question on which make parallelism to use comes up repeatedly. &amp;nbsp;However
&lt;br&gt;&amp;gt; the answer usually is driven by anecdotal evidence and not by empirical data.
&lt;br&gt;&amp;gt; To this end, I ran a small benchmark test to add one data point. &amp;nbsp;I have no
&lt;br&gt;&amp;gt; idea about confidence intervals, so somebody will have to chime in here.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I advise to run builds at -j ncpu+1 for 4-cpu systems. &amp;nbsp;Until we have numbers
&lt;br&gt;&amp;gt; for 2-cpu and UP systems, we can not provide conclusive advice, however I
&lt;br&gt;&amp;gt; would try using -j3 for those two cases.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;/div&gt;Hi Simon:
&lt;br&gt;&lt;br&gt;Please find attached the preliminary results from the first run
&lt;br&gt;set on a AMD64 X2 system.
&lt;br&gt;&lt;br&gt;The data (so far) has been plotted and the generated
&lt;br&gt;make-j-runtimes.png is hereby attached.
&lt;br&gt;&lt;br&gt;Here are the environment details
&lt;br&gt;&lt;br&gt;# uname -a
&lt;br&gt;DragonFly amd64x2.datasynergy.org 2.5.1-DEVELOPMENT DragonFly v2.5.1.181.gd15a4-DEVELOPMENT #2: Thu Nov &amp;nbsp;5 20:35:21 IST 2009 &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217467&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;root@...&lt;/a&gt;:/usr/obj/usr/src/sys/AMD64-P-MQ &amp;nbsp;amd64
&lt;br&gt;&lt;br&gt;&lt;br&gt;# swapinfo
&lt;br&gt;Device &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1K-blocks &amp;nbsp; &amp;nbsp; Used &amp;nbsp; &amp;nbsp;Avail Capacity &amp;nbsp;Type
&lt;br&gt;/dev/ad4s1b &amp;nbsp; &amp;nbsp; &amp;nbsp; 4194176 &amp;nbsp; &amp;nbsp; 9996 &amp;nbsp;4184180 &amp;nbsp; &amp;nbsp; 0% &amp;nbsp; &amp;nbsp;Interleaved
&lt;br&gt;&lt;br&gt;&lt;br&gt;# top snapshot
&lt;br&gt;load averages: &amp;nbsp;3.92, &amp;nbsp;3.47, &amp;nbsp;3.15 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;up 0+11:45:23 &amp;nbsp;08:33:37
&lt;br&gt;38 processes: &amp;nbsp;38 running
&lt;br&gt;CPU0 states: 37.0% user, &amp;nbsp;0.0% nice, &amp;nbsp;3.9% system, &amp;nbsp;0.0% interrupt, 59.1% idle
&lt;br&gt;CPU1 states: 49.2% user, &amp;nbsp;0.0% nice, 18.2% system, &amp;nbsp;0.0% interrupt, 32.6% idle
&lt;br&gt;Mem: 142M Active, 552M Inact, 478M Wired, 60M Cache, 167M Buf, 608M Free
&lt;br&gt;Swap: 4096M Total, 9996K Used, 4086M Free
&lt;br&gt;&lt;br&gt;&lt;br&gt;# vmstat -w 5
&lt;br&gt;&amp;nbsp;procs &amp;nbsp; &amp;nbsp; &amp;nbsp;memory &amp;nbsp; &amp;nbsp; &amp;nbsp;page &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;disks &amp;nbsp; &amp;nbsp; faults &amp;nbsp; &amp;nbsp; &amp;nbsp;cpu
&lt;br&gt;&amp;nbsp;r b w &amp;nbsp; &amp;nbsp; avm &amp;nbsp; &amp;nbsp;fre &amp;nbsp;flt &amp;nbsp;re &amp;nbsp;pi &amp;nbsp;po &amp;nbsp;fr &amp;nbsp;sr ad4 md0 &amp;nbsp; in &amp;nbsp; sy &amp;nbsp;cs us sy id
&lt;br&gt;&amp;nbsp;5 1 0 &amp;nbsp;203824 754532 14568 &amp;nbsp; 1 &amp;nbsp; 0 &amp;nbsp; 0 14684 278 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp;921 10126 5508 26 &amp;nbsp;8 66
&lt;br&gt;&amp;nbsp;5 2 0 &amp;nbsp;161512 788848 28303 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp; 0 30109 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp;647 8186 8301 85 12 &amp;nbsp;2
&lt;br&gt;&amp;nbsp;4 0 0 &amp;nbsp;287640 677560 26282 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp; 0 20797 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp;639 7012 6691 86 11 &amp;nbsp;2
&lt;br&gt;&amp;nbsp;4 0 0 &amp;nbsp;182192 767152 27185 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp; 0 31759 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp;646 7565 7178 85 13 &amp;nbsp;2
&lt;br&gt;&amp;nbsp;4 0 0 &amp;nbsp;325100 645208 25646 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp; 0 19628 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp;640 6893 6090 88 11 &amp;nbsp;1
&lt;br&gt;&lt;br&gt;&lt;br&gt;# vmstat -s
&lt;br&gt;&lt;br&gt;234673986 cpu context switches
&lt;br&gt;&amp;nbsp;39075925 device interrupts
&lt;br&gt;&amp;nbsp; 3455565 software interrupts
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 traps
&lt;br&gt;430276210 system calls
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 kernel threads created
&lt;br&gt;&amp;nbsp; 1010795 &amp;nbsp;fork() calls
&lt;br&gt;&amp;nbsp; 1268091 vfork() calls
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 rfork() calls
&lt;br&gt;&amp;nbsp; 2444061 exec() calls
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 386 swap pager pageins
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 803 swap pager pages paged in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1528 swap pager pageouts
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;3580 swap pager pages paged out
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;7220 vnode pager pageins
&lt;br&gt;&amp;nbsp; &amp;nbsp; 16381 vnode pager pages paged in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 vnode pager pageouts
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 vnode pager pages paged out
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 251 page daemon wakeups
&lt;br&gt;&amp;nbsp;11719895 pages examined by the page daemon
&lt;br&gt;&amp;nbsp; &amp;nbsp; 29072 pages reactivated
&lt;br&gt;&amp;nbsp;44311304 copy-on-write faults
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 copy-on-write optimized faults
&lt;br&gt;530080912 zero fill pages zeroed
&lt;br&gt;&amp;nbsp;14409435 zero fill pages prezeroed
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1088 intransit blocking page faults
&lt;br&gt;619469650 total VM faults taken
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 pages affected by kernel thread creation
&lt;br&gt;&amp;nbsp;64643286 pages affected by &amp;nbsp;fork()
&lt;br&gt;&amp;nbsp;50198608 pages affected by vfork()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 pages affected by rfork()
&lt;br&gt;624395522 pages freed
&lt;br&gt;&amp;nbsp; 3153399 pages freed by daemon
&lt;br&gt;192851424 pages freed by exiting processes
&lt;br&gt;&amp;nbsp; &amp;nbsp; 55712 pages active
&lt;br&gt;&amp;nbsp; &amp;nbsp;178325 pages inactive
&lt;br&gt;&amp;nbsp; &amp;nbsp; 14227 pages in VM cache
&lt;br&gt;&amp;nbsp; &amp;nbsp;130817 pages wired down
&lt;br&gt;&amp;nbsp; &amp;nbsp; 92092 pages free
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 bytes per page
&lt;br&gt;712512521 total name lookups
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cache hits (91% pos + 8% neg) system 0% per-directory
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; deletions 0%, falsehits 0%, toolong 0%
&lt;br&gt;&lt;br&gt;&lt;br&gt;# Application load profile
&lt;br&gt;&lt;br&gt;The system is running the following applications
&lt;br&gt;&amp;nbsp;. ssh daemon
&lt;br&gt;&amp;nbsp;. csh shell
&lt;br&gt;&amp;nbsp;. make 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Please review and let me know if there is any tweak/correction
&lt;br&gt;that you deem necessary.
&lt;br&gt;&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;Saifi.&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;make-j-runtimes.png&lt;/strong&gt; (6K) &lt;a href=&quot;http://old.nabble.com/attachment/26217467/0/make-j-runtimes.png&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Analysis-on-make-parallelism-for-buildworld-tp26217467p26217467.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26216306</id>
	<title>Re: SMP users needed to test patch</title>
	<published>2009-11-05T06:53:14Z</published>
	<updated>2009-11-05T06:53:14Z</updated>
	<author>
		<name>Stathis Kamperis-2</name>
	</author>
	<content type="html">2009/11/4 Stathis Kamperis &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26216306&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ekamperi@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello everyone!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'd like to mark mq*() syscall as MPSAFE, but before that I need
&lt;br&gt;&amp;gt; someone to test them in an SMP capable machine running SMP kernel. I
&lt;br&gt;&amp;gt; only have UP machines around.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, if anyone is able and kind enough, here are some directions on how
&lt;br&gt;&amp;gt; to do it. I assume s\he is running HEAD.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cd /usr/src
&lt;br&gt;&amp;gt; fetch &lt;a href=&quot;http://leaf.dragonflybsd.org/~beket/mq-mpsafe.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leaf.dragonflybsd.org/~beket/mq-mpsafe.diff&lt;/a&gt;&lt;br&gt;&amp;gt; git apply mq-mpsafe.diff
&lt;br&gt;&amp;gt; make buildkernel
&lt;br&gt;&amp;gt; make installkernel
&lt;br&gt;&amp;gt; reboot
&lt;br&gt;&amp;gt; git clone git://gitweb.dragonflybsd.org/~beket/pcca-tests.git
&lt;br&gt;&amp;gt; cd pcca-tests/mqueue.h
&lt;br&gt;&amp;gt; make &amp;&amp; make -k run
&lt;br&gt;&amp;gt; cd etc
&lt;br&gt;&amp;gt; make
&lt;br&gt;&amp;gt; sysctl -w kern.mqueue.mq_prio_max=200
&lt;br&gt;&amp;gt; ./t_mq_parallel_threads
&lt;br&gt;&amp;gt; ./t_mq_parallel_fork
&lt;/div&gt;&lt;br&gt;Unfortunately, I forgot to mention one crucial step. After the patch
&lt;br&gt;application one should type 'make sysent' inside sys/kern, so that the
&lt;br&gt;syscall-related files be regenerated, namely the init_sysent.c. Or
&lt;br&gt;even better, *I* should have added the init_sysent.c changes in my
&lt;br&gt;patch. Since buildkernel doesn't regenerate these files automatically,
&lt;br&gt;I'm afraid that the tests ran with giant lock held upon syscall
&lt;br&gt;invocation.
&lt;br&gt;&lt;br&gt;I apologize for wasting people`s time :( &amp;nbsp;I'll just try to get
&lt;br&gt;physical access on an SMP cabable machine &amp; run them on my own.
&lt;br&gt;&lt;br&gt;Thank you both.
&lt;br&gt;&lt;br&gt;Best regardis,
&lt;br&gt;Stathis Kamperis
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SMP-users-needed-to-test-patch-tp26195555p26216306.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26208852</id>
	<title>Re: SMP users needed to test patch</title>
	<published>2009-11-04T19:34:19Z</published>
	<updated>2009-11-04T19:34:19Z</updated>
	<author>
		<name>Stathis Kamperis-2</name>
	</author>
	<content type="html">2009/11/5 Stathis Kamperis &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26208852&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ekamperi@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Second, we don't expose the real values for MQ_OPEN_MAX, MQ_PRIO_MAX
&lt;br&gt;&amp;gt; and _POSIX_MESSAGE_PASSING.
&lt;br&gt;In the sysconf() level that is.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SMP-users-needed-to-test-patch-tp26195555p26208852.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26208850</id>
	<title>Re: SMP users needed to test patch</title>
	<published>2009-11-04T19:32:11Z</published>
	<updated>2009-11-04T19:32:11Z</updated>
	<author>
		<name>Stathis Kamperis-2</name>
	</author>
	<content type="html">&amp;gt; Oh, t_mq_send failed at line 56 after raising kern.mqueue.mq_prio_max to 200,
&lt;br&gt;&amp;gt; but if I put it back to default (32), the test passes. Is it expected too?
&lt;br&gt;Thanks for discovering a double defect :)
&lt;br&gt;&lt;br&gt;First, my test case uses the MQ_PRIO_MAX constant (default 32) as
&lt;br&gt;defined in sys/mqueue.h to figure out the largest possible value for
&lt;br&gt;message queue priorities.
&lt;br&gt;&lt;br&gt;This is wrong.
&lt;br&gt;It should get the value via sysconf() and _SC_MQ_PRIO_MAX. That said,
&lt;br&gt;when you set max priorities to 200, the test assumed that 32 was the
&lt;br&gt;largest possible value and that 2*32 would certainly be an invalid
&lt;br&gt;priority value. And it expected mq_send(..., 64); to fail, which it
&lt;br&gt;didn't since the real upper value for priorities was 200. When you
&lt;br&gt;restored the limit to its default value, 64 was a &amp;quot;legitimate invalid&amp;quot;
&lt;br&gt;value and the test passed.
&lt;br&gt;&lt;br&gt;Second, we don't expose the real values for MQ_OPEN_MAX, MQ_PRIO_MAX
&lt;br&gt;and _POSIX_MESSAGE_PASSING.
&lt;br&gt;&lt;br&gt;I'll fix both of them tomorrow.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Thanks, for once more.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Stathis Kamperis
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SMP-users-needed-to-test-patch-tp26195555p26208850.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26207511</id>
	<title>Re: SMP users needed to test patch</title>
	<published>2009-11-04T16:50:25Z</published>
	<updated>2009-11-04T16:50:25Z</updated>
	<author>
		<name>YONETANI Tomokazu-4</name>
	</author>
	<content type="html">On Thu, Nov 05, 2009 at 01:55:33AM +0200, Stathis Kamperis wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Are we suppose to perform the tests (make -k run and the last two lines)
&lt;br&gt;&amp;gt; &amp;gt; as root or a non-root user? 〓I just tried that on vkernel, but if I run
&lt;br&gt;&amp;gt; As non-root.
&lt;br&gt;&amp;gt; (All the tests in the repository assume non-root runtime context. I
&lt;br&gt;&amp;gt; should have mentioned that, sorry.)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; them as root, t_mq_open, t_mq_open_umask dump core, and any subsequent
&lt;br&gt;&amp;gt; &amp;gt; runs dump core too, no matter run as root or not. 〓The version of
&lt;br&gt;&amp;gt; That's &amp;quot;expected&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When the tests failed for the first time (due to being ran as root) ,
&lt;br&gt;&amp;gt; the message queues remained in the system. So every subsequent attempt
&lt;br&gt;&amp;gt; to run the tests again, failed because those queues were already
&lt;br&gt;&amp;gt; present (opened) in the system. I will fix it by installing a signal
&lt;br&gt;&amp;gt; handler that cleans up the mess upon SIGABRT. (Actually, IIRC, some
&lt;br&gt;&amp;gt; tests may already have such a thing.)
&lt;/div&gt;&lt;br&gt;OK, thanks for the explanation.
&lt;br&gt;&lt;br&gt;&amp;gt; Most important is that vkernel didn't crash or hang :)
&lt;br&gt;&amp;gt; I assume that you didn't pass -n1 to the vkernel, right ?
&lt;br&gt;&lt;br&gt;I used -n3 and -n16 but vkernel didn't crash or hang in either cases,
&lt;br&gt;so I tried it on the real kernel too, but so far all tests ran fine and
&lt;br&gt;I haven't managed to crash :).
&lt;br&gt;Oh, t_mq_send failed at line 56 after raising kern.mqueue.mq_prio_max to 200,
&lt;br&gt;but if I put it back to default (32), the test passes. Is it expected too?
&lt;br&gt;&lt;br&gt;Cheers.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SMP-users-needed-to-test-patch-tp26195555p26207511.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26206927</id>
	<title>Re: SMP users needed to test patch</title>
	<published>2009-11-04T15:55:33Z</published>
	<updated>2009-11-04T15:55:33Z</updated>
	<author>
		<name>Stathis Kamperis-2</name>
	</author>
	<content type="html">2009/11/5 YONETANI Tomokazu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26206927&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qhwt+dfly@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;Hi Yonetani &amp; thank you for bothering!
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Nov 04, 2009 at 02:30:38PM +0200, Stathis Kamperis wrote:
&lt;br&gt;&amp;gt;&amp;gt; git clone git://gitweb.dragonflybsd.org/~beket/pcca-tests.git
&lt;br&gt;&amp;gt;&amp;gt; cd pcca-tests/mqueue.h
&lt;br&gt;&amp;gt;&amp;gt; make &amp;&amp; make -k run
&lt;br&gt;&amp;gt;&amp;gt; cd etc
&lt;br&gt;&amp;gt;&amp;gt; make
&lt;br&gt;&amp;gt;&amp;gt; sysctl -w kern.mqueue.mq_prio_max=200
&lt;br&gt;&amp;gt;&amp;gt; ./t_mq_parallel_threads
&lt;br&gt;&amp;gt;&amp;gt; ./t_mq_parallel_fork
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are we suppose to perform the tests (make -k run and the last two lines)
&lt;br&gt;&amp;gt; as root or a non-root user?  I just tried that on vkernel, but if I run
&lt;/div&gt;As non-root.
&lt;br&gt;(All the tests in the repository assume non-root runtime context. I
&lt;br&gt;should have mentioned that, sorry.)
&lt;br&gt;&lt;br&gt;&amp;gt; them as root, t_mq_open, t_mq_open_umask dump core, and any subsequent
&lt;br&gt;&amp;gt; runs dump core too, no matter run as root or not.  The version of
&lt;br&gt;That's &amp;quot;expected&amp;quot;.
&lt;br&gt;&lt;br&gt;When the tests failed for the first time (due to being ran as root) ,
&lt;br&gt;the message queues remained in the system. So every subsequent attempt
&lt;br&gt;to run the tests again, failed because those queues were already
&lt;br&gt;present (opened) in the system. I will fix it by installing a signal
&lt;br&gt;handler that cleans up the mess upon SIGABRT. (Actually, IIRC, some
&lt;br&gt;tests may already have such a thing.)
&lt;br&gt;&lt;br&gt;Most important is that vkernel didn't crash or hang :)
&lt;br&gt;I assume that you didn't pass -n1 to the vkernel, right ?
&lt;br&gt;&lt;br&gt;&amp;gt; pcca-tests is 0c458bb3cf5d4943093c9b05ca70cc298f09bb46.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Thanks again.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Stathis Kamperis
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SMP-users-needed-to-test-patch-tp26195555p26206927.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26206328</id>
	<title>Re: SMP users needed to test patch</title>
	<published>2009-11-04T15:01:04Z</published>
	<updated>2009-11-04T15:01:04Z</updated>
	<author>
		<name>YONETANI Tomokazu-4</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Wed, Nov 04, 2009 at 02:30:38PM +0200, Stathis Kamperis wrote:
&lt;br&gt;&amp;gt; git clone git://gitweb.dragonflybsd.org/~beket/pcca-tests.git
&lt;br&gt;&amp;gt; cd pcca-tests/mqueue.h
&lt;br&gt;&amp;gt; make &amp;&amp; make -k run
&lt;br&gt;&amp;gt; cd etc
&lt;br&gt;&amp;gt; make
&lt;br&gt;&amp;gt; sysctl -w kern.mqueue.mq_prio_max=200
&lt;br&gt;&amp;gt; ./t_mq_parallel_threads
&lt;br&gt;&amp;gt; ./t_mq_parallel_fork
&lt;br&gt;&lt;br&gt;Are we suppose to perform the tests (make -k run and the last two lines)
&lt;br&gt;as root or a non-root user? &amp;nbsp;I just tried that on vkernel, but if I run
&lt;br&gt;them as root, t_mq_open, t_mq_open_umask dump core, and any subsequent
&lt;br&gt;runs dump core too, no matter run as root or not. &amp;nbsp;The version of
&lt;br&gt;pcca-tests is 0c458bb3cf5d4943093c9b05ca70cc298f09bb46.
&lt;br&gt;&lt;br&gt;Cheers.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SMP-users-needed-to-test-patch-tp26195555p26206328.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26195555</id>
	<title>SMP users needed to test patch</title>
	<published>2009-11-04T04:30:38Z</published>
	<updated>2009-11-04T04:30:38Z</updated>
	<author>
		<name>Stathis Kamperis-2</name>
	</author>
	<content type="html">Hello everyone!
&lt;br&gt;&lt;br&gt;I'd like to mark mq*() syscall as MPSAFE, but before that I need
&lt;br&gt;someone to test them in an SMP capable machine running SMP kernel. I
&lt;br&gt;only have UP machines around.
&lt;br&gt;&lt;br&gt;So, if anyone is able and kind enough, here are some directions on how
&lt;br&gt;to do it. I assume s\he is running HEAD.
&lt;br&gt;&lt;br&gt;cd /usr/src
&lt;br&gt;fetch &lt;a href=&quot;http://leaf.dragonflybsd.org/~beket/mq-mpsafe.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://leaf.dragonflybsd.org/~beket/mq-mpsafe.diff&lt;/a&gt;&lt;br&gt;git apply mq-mpsafe.diff
&lt;br&gt;make buildkernel
&lt;br&gt;make installkernel
&lt;br&gt;reboot
&lt;br&gt;git clone git://gitweb.dragonflybsd.org/~beket/pcca-tests.git
&lt;br&gt;cd pcca-tests/mqueue.h
&lt;br&gt;make &amp;&amp; make -k run
&lt;br&gt;cd etc
&lt;br&gt;make
&lt;br&gt;sysctl -w kern.mqueue.mq_prio_max=200
&lt;br&gt;./t_mq_parallel_threads
&lt;br&gt;./t_mq_parallel_fork
&lt;br&gt;&lt;br&gt;If you encounter problems you can mail me off-list to sort them out. I
&lt;br&gt;know that it's messy, so no hard feelings if no one volunteers :)
&lt;br&gt;Thank you for considering.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Stathis Kamperis
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SMP-users-needed-to-test-patch-tp26195555p26195555.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26182633</id>
	<title>Re: HAMMER version 4 work in progress (NOT for production systems)</title>
	<published>2009-11-03T08:40:05Z</published>
	<updated>2009-11-03T08:40:05Z</updated>
	<author>
		<name>Matthew Dillon</name>
	</author>
	<content type="html">&lt;br&gt;:Matthew Dillon wrote:
&lt;br&gt;:
&lt;br&gt;:&amp;gt; &amp;nbsp; &amp;nbsp; the only real way to test it is by pulling the SATA cable out of the
&lt;br&gt;:&amp;gt; &amp;nbsp; &amp;nbsp; drive during heavy disk I/O (do NOT pull the power on a drive), or
&lt;br&gt;:
&lt;br&gt;:Matt,
&lt;br&gt;:
&lt;br&gt;:What thoughts in re pulling the (only) cable on a FW or USB-attached drive?
&lt;br&gt;:(as it seesm both easier and 'safer' w/r access and/or other-than-fs damage)
&lt;br&gt;:
&lt;br&gt;:Bill
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; It is fairly safe w/ the AHCI driver or the SILI driver. &amp;nbsp;It is not
&lt;br&gt;&amp;nbsp; &amp;nbsp; safe with the NATA driver. &amp;nbsp;It may or may not be safe w/ the firewire
&lt;br&gt;&amp;nbsp; &amp;nbsp; driver. &amp;nbsp;It all depends on whether the driver properly aborts any
&lt;br&gt;&amp;nbsp; &amp;nbsp; in-progress I/Os or not, and whether the filesystem then does the
&lt;br&gt;&amp;nbsp; &amp;nbsp; right thing with the error condition.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Matt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Matthew Dillon 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26182633&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dillon@...&lt;/a&gt;&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HAMMER-version-4-work-in-progress-%28NOT-for-production-systems%29-tp26157019p26182633.html" />
</entry>

</feed>
