Re: large pages (amd64)

2009-06-28 Thread Alan Cox
Nathanael Hoyle wrote: [snip] Having been corrected by both you and Joerg (thank you!), I went back to re-verify my understanding. It appears that while I was slightly mixing PAE in with PSE, PSE support for 4MB pages was introduced 'silently' with the Pentium, and documented first with the Pen

Re: large pages (amd64)

2009-06-28 Thread Nathanael Hoyle
Joerg Sonnenberger wrote: On Sun, Jun 28, 2009 at 08:14:24PM -0400, Nathanael Hoyle wrote: Just to be clear, since you say i386 (I presume you mean architecture), I believe the Physical Address Extensions which allowed 2MB Page Size bit to be set was introduced with Pentium Pro. Processors

rpc.yppasswdd fails in 7.2?

2009-06-28 Thread Barkley Vowk
I've got a 7.2 box acting as NIS master, running rpc.yppasswdd. When remote users try to change their passwords they see: testing1# passwd mytest Changing NIS password for mytest Old Password: New Password: Retype New Password: passwd: pam_chauthtok(): error in service module On the server I ge

ATA driver update for 7.2RELEASE available

2009-06-28 Thread Søren Schmidt
Over the past months I've gotten huge amounts of requests for ATA related things, so I've whipped up what I use here for FreeBSD 7.2- Release. This is a total replacement of the ATA driver, modulerized as in - current, but based on my WIP not from what might have happend to - current since I

Re: large pages (amd64)

2009-06-28 Thread Nathanael Hoyle
Alan Cox wrote: On Sun, Jun 28, 2009 at 7:14 PM, Nathanael Hoyle wrote: Wojciech Puchar wrote: i enabled vm.pmap.pg_ps_enabled: 1 could you please explain what exactly this values means? because i don't understand why promotions-demotions!=mappings vm.pmap.pde.promotions: 2703 vm.p

Re: large pages (amd64)

2009-06-28 Thread Alan Cox
On Sun, Jun 28, 2009 at 7:14 PM, Nathanael Hoyle wrote: > Wojciech Puchar wrote: > >> i enabled >> vm.pmap.pg_ps_enabled: 1 >> >> >> could you please explain what exactly this values means? >> because i don't understand why promotions-demotions!=mappings >> >> vm.pmap.pde.promotions: 2703 >> vm.pm

Re: large pages (amd64)

2009-06-28 Thread Joerg Sonnenberger
On Sun, Jun 28, 2009 at 08:14:24PM -0400, Nathanael Hoyle wrote: > Just to be clear, since you say i386 (I presume you mean architecture), > I believe the Physical Address Extensions which allowed 2MB Page Size > bit to be set was introduced with Pentium Pro. Processors prior to this > were l

Re: large pages (amd64)

2009-06-28 Thread Nathanael Hoyle
Wojciech Puchar wrote: i enabled vm.pmap.pg_ps_enabled: 1 could you please explain what exactly this values means? because i don't understand why promotions-demotions!=mappings vm.pmap.pde.promotions: 2703 vm.pmap.pde.p_failures: 6290 vm.pmap.pde.mappings: 610 vm.pmap.pde.demotions: 289 ot

Re: large pages (amd64)

2009-06-28 Thread Alan Cox
Wojciech Puchar wrote: other question - tried enabling it on my i386 laptop (256 megs ram), always mappings==0, while promitions>demotions>0. The default starting address for executables on i386 is not aligned to a 2/4MB page boundary. Hence, "mappings" are much less likely to

Re: large pages (amd64)

2009-06-28 Thread Wojciech Puchar
other question - tried enabling it on my i386 laptop (256 megs ram), always mappings==0, while promitions>demotions>0. The default starting address for executables on i386 is not aligned to a 2/4MB page boundary. Hence, "mappings" are much less likely to occur. certainly

Re: large pages (amd64)

2009-06-28 Thread Alan Cox
On Sun, Jun 28, 2009 at 12:36 PM, Wojciech Puchar < woj...@wojtek.tensor.gdynia.pl> wrote: > i enabled > vm.pmap.pg_ps_enabled: 1 > > > could you please explain what exactly this values means? > because i don't understand why promotions-demotions!=mappings > "mappings" is not what you seem to thi

Re: dynamic and static DNS in the samie name server

2009-06-28 Thread Aryeh M. Friedman
Mike Meyer wrote: On Sun, 28 Jun 2009 16:01:11 -0400 "Aryeh M. Friedman" wrote: We have a name server set up that contains all our static IP's (in office but not for remote workers because they all have dynamic IP's) we currently use dns/no-ip2 to manage this but I was wondering if i

Re: Can I bind POSIX thread to cpu core?

2009-06-28 Thread Dan Nelson
In the last episode (Jun 28): > I have system with 4 core cpu. How can I bind POSIX thread to the one > core? I mean that this thread can be executed on the fixed core. See the cpuset(2) and cpuset_setaffinity(2) manpages. Something like this should work: #include #include #include #include

dynamic and static DNS in the samie name server

2009-06-28 Thread Aryeh M. Friedman
We have a name server set up that contains all our static IP's (in office but not for remote workers because they all have dynamic IP's) we currently use dns/no-ip2 to manage this but I was wondering if it is possible to (easily) configure our internal nameserver to do this? _

Can I bind POSIX thread to cpu core?

2009-06-28 Thread Михаил Кипа
I have system with 4 core cpu. How can I bind POSIX thread to the one core? I mean that this thread can be executed on the fixed core. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe,

large pages (amd64)

2009-06-28 Thread Wojciech Puchar
i enabled vm.pmap.pg_ps_enabled: 1 could you please explain what exactly this values means? because i don't understand why promotions-demotions!=mappings vm.pmap.pde.promotions: 2703 vm.pmap.pde.p_failures: 6290 vm.pmap.pde.mappings: 610 vm.pmap.pde.demotions: 289 other question - tried ena

Re: callout(9) and Giant lock

2009-06-28 Thread Robert Watson
On Sun, 28 Jun 2009, Sebastian Huber wrote: suppose that a certain time event triggered several callout functions. What happens if the first of these callout functions blocks on the Giant lock? Does this delay all further callout functions until the Giant lock is available for the first callo

ata 'Flush Cache' errors, on non-failing disk?

2009-06-28 Thread Karl Pielorz
Hi, I've recently updated my amd64 system from 6.4 to 7.2-Stable - this works fine, but I've started picking up errors on the console: ad36: TIMEOUT - FLUSHCACHE retrying (1 retry left) The drive (an WD5000AAKS) appears healthy - SMART reports no errors, or problems - and the timeouts only

callout(9) and Giant lock

2009-06-28 Thread Sebastian Huber
Hi, suppose that a certain time event triggered several callout functions. What happens if the first of these callout functions blocks on the Giant lock? Does this delay all further callout functions until the Giant lock is available for the first callout function? What happens if one of the