Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-06-03 Thread Alexander Best
On Tue May 31 11, Bruce Evans wrote: > On Mon, 30 May 2011 m...@freebsd.org wrote: > > >On Mon, May 30, 2011 at 8:25 AM, Bruce Evans wrote: > >>On Sat, 28 May 2011 m...@freebsd.org wrote: > >>>... > >>>Meanwhile you could try setting ZERO_REGION_SIZE to PAGE_SIZE and I > >>>think that will restor

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-31 Thread mdf
On Tue, May 31, 2011 at 3:47 PM, wrote: > On Tue, May 31, 2011 at 2:48 PM, Pieter de Goeje wrote: >> On Sunday 29 May 2011 05:01:57 m...@freebsd.org wrote: >>> On Sat, May 28, 2011 at 12:03 PM, Pieter de Goeje wrote: >>> > To me it looks like it's not able to cache the zeroes anymore. Is this >

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-31 Thread mdf
On Tue, May 31, 2011 at 2:48 PM, Pieter de Goeje wrote: > On Sunday 29 May 2011 05:01:57 m...@freebsd.org wrote: >> On Sat, May 28, 2011 at 12:03 PM, Pieter de Goeje wrote: >> > To me it looks like it's not able to cache the zeroes anymore. Is this >> > intentional? I tried to change ZERO_REGION_

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-31 Thread Pieter de Goeje
On Sunday 29 May 2011 05:01:57 m...@freebsd.org wrote: > On Sat, May 28, 2011 at 12:03 PM, Pieter de Goeje wrote: > > To me it looks like it's not able to cache the zeroes anymore. Is this > > intentional? I tried to change ZERO_REGION_SIZE back to 64K but that > > didn't help. > > Hmm. I don't h

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-30 Thread Bruce Evans
On Mon, 30 May 2011 m...@freebsd.org wrote: On Mon, May 30, 2011 at 8:25 AM, Bruce Evans wrote: On Sat, 28 May 2011 m...@freebsd.org wrote: ... Meanwhile you could try setting ZERO_REGION_SIZE to PAGE_SIZE and I think that will restore things to the original performance. Using /dev/zero alw

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-30 Thread mdf
On Mon, May 30, 2011 at 8:25 AM, Bruce Evans wrote: > On Sat, 28 May 2011 m...@freebsd.org wrote: > >> On Sat, May 28, 2011 at 12:03 PM, Pieter de Goeje >> wrote: >>> >>> On Friday 13 May 2011 20:48:01 Matthew D Fleming wrote: Author: mdf Date: Fri May 13 18:48:00 2011 New Rev

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-30 Thread Bruce Evans
On Sat, 28 May 2011 m...@freebsd.org wrote: On Sat, May 28, 2011 at 12:03 PM, Pieter de Goeje wrote: On Friday 13 May 2011 20:48:01 Matthew D Fleming wrote: Author: mdf Date: Fri May 13 18:48:00 2011 New Revision: 221853 URL: http://svn.freebsd.org/changeset/base/221853 Log: ? Usa a globally

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-28 Thread mdf
On Sat, May 28, 2011 at 12:03 PM, Pieter de Goeje wrote: > On Friday 13 May 2011 20:48:01 Matthew D Fleming wrote: >> Author: mdf >> Date: Fri May 13 18:48:00 2011 >> New Revision: 221853 >> URL: http://svn.freebsd.org/changeset/base/221853 >> >> Log: >>   Usa a globally visible region of zeros fo

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-28 Thread Pieter de Goeje
On Friday 13 May 2011 20:48:01 Matthew D Fleming wrote: > Author: mdf > Date: Fri May 13 18:48:00 2011 > New Revision: 221853 > URL: http://svn.freebsd.org/changeset/base/221853 > > Log: > Usa a globally visible region of zeros for both /dev/zero and the md > device. There are likely other ker

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-15 Thread Dag-Erling Smørgrav
Matthew D Fleming writes: > Log: > Usa a globally visible region of zeros for both /dev/zero and the md > device. There are likely other kernel uses of "blob of zeros" than can > be converted. Excellent, thank you! DES -- Dag-Erling Smørgrav - d...@des.no

svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-13 Thread Matthew D Fleming
Author: mdf Date: Fri May 13 18:48:00 2011 New Revision: 221853 URL: http://svn.freebsd.org/changeset/base/221853 Log: Usa a globally visible region of zeros for both /dev/zero and the md device. There are likely other kernel uses of "blob of zeros" than can be converted. Reviewed by: