Re: Spin down HDD after disk sync or before power off

2010-01-29 Thread Warren Block
On Fri, 29 Jan 2010, Jung-uk Kim wrote: On Friday 29 January 2010 05:38 pm, Warren Block wrote: I am not 100% sure but I think it should be something like the attached patch. Yes, I had the two commands backwards. So let me try to summarize: ad_shutdown uses ATA_FLUSHCACHE writes out any cac

Re: Unique process id (not pid) and accounting daemon

2010-01-29 Thread Jilles Tjoelker
On Mon, Jan 25, 2010 at 02:33:35AM +0300, cronfy wrote: > I am trying to create an accounting daemon that would be more precise > than usual BSD system accounting. It should read the whole process > tree from time to time (say, every 10 seconds) and log changes in > usage of CPU, I/O operations and

Re: Spin down HDD after disk sync or before power off

2010-01-29 Thread Jung-uk Kim
On Friday 29 January 2010 05:38 pm, Warren Block wrote: > On Wed, 27 Jan 2010, Alexander Best wrote: > > i believe the sound you hear is due to the emergency unload > > sequence. i'm not 100% sure, but i think after applying the patch > > the sound is gone. i recently replaced my old IDE hdd (which

Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-01-29 Thread Alexander Motin
Kostik Belousov wrote: > On Sat, Jan 30, 2010 at 12:58:26AM +0200, Alexander Motin wrote: >> Hi. >> >> Experimenting with SATA hot-plug I've found quite repeatable deadlock >> case. Problem observed when several SATA devices, opened via devfs, >> disappear at exactly same time. In my case, at time

Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-01-29 Thread Kostik Belousov
On Sat, Jan 30, 2010 at 12:58:26AM +0200, Alexander Motin wrote: > Hi. > > Experimenting with SATA hot-plug I've found quite repeatable deadlock > case. Problem observed when several SATA devices, opened via devfs, > disappear at exactly same time. In my case, at time of unplugging SATA > Port Mul

Deadlock between GEOM and devfs device destroy and process exit.

2010-01-29 Thread Alexander Motin
Hi. Experimenting with SATA hot-plug I've found quite repeatable deadlock case. Problem observed when several SATA devices, opened via devfs, disappear at exactly same time. In my case, at time of unplugging SATA Port Multiplier with several disks beyond it. All I have to do is to run several `dd

Re: Spin down HDD after disk sync or before power off

2010-01-29 Thread Warren Block
On Wed, 27 Jan 2010, Alexander Best wrote: i believe the sound you hear is due to the emergency unload sequence. i'm not 100% sure, but i think after applying the patch the sound is gone. i recently replaced my old IDE hdd (which made a very loud "click!" during shutdown) with a new SATA hdd. th

Re: book on parallel programming

2010-01-29 Thread Ivan Voras
On 01/29/10 10:24, Sergey Babkin wrote: Hi guys, I wrote a book, "The Practice of Parallel Programming". However the publishing part didn't work out, so I've put it on the web: Sorry for the publishing part, but thanks for writing something like this! Have you considered some kind of online p

book on parallel programming

2010-01-29 Thread Sergey Babkin
Hi guys, I wrote a book, "The Practice of Parallel Programming". However the publishing part didn't work out, so I've put it on the web: SourceForge page: https://sourceforge.net/projects/tpopp/ read online: http://members.verizon.net/~babkin/tpopp/ BTW, looks like DamonNews is dead? All there