Re: CVS commit: src/sbin/mount

2020-10-24 Thread David Holland
On Sat, Oct 24, 2020 at 10:51:34AM +, Nia Alarie wrote:
 > Modified Files:
 >  src/sbin/mount: mount.8
 > 
 > Log Message:
 > file systems that are used as what spools?

Kibozing caches.

-- 
David A. Holland
dholl...@netbsd.org


Re: CVS commit: src/sys/arch/sparc64/dev

2020-10-24 Thread Julian Coleman
Hi Tobias,

> If you're interested there is an older version[1] of envctrl in the
> Attic that might be relevant to use for reference. It supported fan
> speed controls on E450. IIRC I got some of the magic constants from
> OpenSolaris. Sadly I don't own an E450 any more.
> 
> [1] 
> cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/arch/sparc64/dev/Attic/envctrl.c?rev=1.11=text/plain_with_tag=MAIN

Thank you - that's useful information!

Related to the magic offsets, I noticed that the value read from the sensor
was always lower than the value written.  However, it doesn't appear to be
a constant difference (I see about 15 for most values, but only 5 for the
minimum).  I think that it's OK to keep the higher value - it'll mean that
we run the fans slightly faster.  The CPU temperature on my E250 doesn't
reach the minimum threshold where the fan speed actually increases, so I
don't think that this will have any impact.

The GPIO values there helps to see what values I should be checking for too.

It would be good to merge this with the current code, but I only have an
E250 to test on, so I'll need to find a volunteer.

Regards,

Julian


Re: CVS commit: src/sys/arch/sparc64/dev

2020-10-24 Thread Tobias Nygren
On Sat, 24 Oct 2020 15:16:39 +
Julian Coleman  wrote:

> Module Name:  src
> Committed By: jdc
> Date: Sat Oct 24 15:16:39 UTC 2020
> 
> Modified Files:
>   src/sys/arch/sparc64/dev: pcf8591_envctrl.c
> 
> Log Message:
> Add support for automatically changing the CPU fan speed on the E250 in a
> similar way to the SB1000/SB2000.
> The fan control information was determined by experiment, as it's only
> partially available in OFW.
> Hardcode the missing information for E250 fan control into the driver
> (it should be possible to support the E450 in future too).

If you're interested there is an older version[1] of envctrl in the
Attic that might be relevant to use for reference. It supported fan
speed controls on E450. IIRC I got some of the magic constants from
OpenSolaris. Sadly I don't own an E450 any more.

[1] 
cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/arch/sparc64/dev/Attic/envctrl.c?rev=1.11=text/plain_with_tag=MAIN


Re: CVS commit: src/sbin/mount

2020-10-24 Thread Robert Elz
Date:Sat, 24 Oct 2020 10:51:34 +
From:"Nia Alarie" 
Message-ID:  <20201024105134.6539bf...@cvs.netbsd.org>

  | file systems that are used as what spools?

Ah, youth!

The old text:
This option is useful for optimizing read performance on file systems
that are used as news spools.
was refering to netnews (usenet, NNTP or whatever).

Such a filesystem is almost certainly not going to care about access times
(this is about uses for the noatime flag, to save others needing to go look
at what changed) as the news articles are referenced by large numbers of
news readers, and outgoing feeds, and when any of that happened is of no
interest to the server or its maintainers, at all - but it happens (or
happened, when usenet was a big thing) a lot, and not bothering to update
the access times could mean a lot of unnecessary writes to an already very
busy filesystem.

All that said, note that I am not objecting to the change (referring to
flash based filesystems rather than news spools) it is a little more
currently relevant.

kre