🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by J. Porter Clark Mon, 01 Mar 1999 00:00
Solaris 7 64-bit and INN 2.2 traditional spool
#35722
Author: J. Porter Clark
Date: Mon, 01 Mar 1999 00:00
11 lines
1085 bytes
Basically, my question is:  Why?

I'm considering upgrading my Ultra E3000 to Solaris 7.  It's using INN
2.2 and traditional spool.  Is there any reason for using the 64-bit
kernel instead of 32-bit?

-- 
J. Porter Clark    porter.clark@msfc.nasa.gov
NASA/MSFC Flight Data Systems Branch

Re: Solaris 7 64-bit and INN 2.2 traditional spool
#35739
Author: John K. Lorenzon
Date: Tue, 02 Mar 1999 00:00
23 lines
1494 bytes
First, depending on how long you have had your system, you will have to do
a firmware upgrade (patch 103346-19).  Run as root:

# /usr/platform/`uname -m`/sbin/prtdiag -v | grep OBP

This will tell if you need to update.  OBP must be 3.10 or higher.

John

"J. Porter Clark" wrote:

> Basically, my question is:  Why?
>
> I'm considering upgrading my Ultra E3000 to Solaris 7.  It's using INN
> 2.2 and traditional spool.  Is there any reason for using the 64-bit
> kernel instead of 32-bit?
>
> --
> J. Porter Clark    porter.clark@msfc.nasa.gov
> NASA/MSFC Flight Data Systems Branch


Re: Solaris 7 64-bit and INN 2.2 traditional spool
#35750
Author: Brad Knowles
Date: Wed, 03 Mar 1999 00:00
36 lines
2533 bytes
In article <7bij2k$aah$1@nnrp1.dejanews.com>, logan_shaw@yahoo.com wrote:

> I can't think of one.

    From what I've heard, Solaris 7 is still a little raw for high-end
servers.  Many of them are better off sticking to Solaris 2.6+patches, at
least until the underlying OS stablizes a bit more and some more of the
core applications  (e.g., Sybase and Oracle) get ported to Solaris 7.

> Solaris 7 itself might provide a real advantage.  If you use the
> system for other stuff, I'd bet your news would tend to drive other
> stuff out of RAM and onto swap.  You could do "set priority_paging=1"
> in /etc/system and avoid that.  It might slow down news a little bit
> but should make other stuff run faster.

    You can do this with Solaris 2.6, too.

> Also, based on anecdotal experience (not quantitative tests), it seems
> like ufs with logging is faster at creating lots of small files than
> ufs without logging.  If this is true for you, it should improve inn
> performance for the traditional spool.

    You can also do this with Solaris 2.6.  In fact, if you're using
Solaris 2.6, you can buy the Veritas VxFS journaling filesystem and get
*much* better performance than you'd ever see out of UFS logging. 
However, note that VxFS is quite expensive, and may or may not be worth
the cost in your application.  Also note that it is not yet available for
Solaris 7.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Solaris 7 64-bit and INN 2.2 traditional spool
#35752
Author: Casper H.S. Dik - Network Securi...
Date: Wed, 03 Mar 1999 00:00
35 lines
2141 bytes
[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]

logan_shaw@yahoo.com writes:

>I can't think of one.  It seems to me the big advantage of the 64-bit
>kernel is that you can have more main memory.  If you actually have
>greater than 2 GB RAM, this might be a benefit.  (Keeping your entire
>news spool in RAM can't hurt!)  64-bit arithmetic is also a benefit of
>the 64-bit kernel, but I can't see how this would be helpful for inn.
>Basically, I can't see how 32-bit or 64-bit makes any difference for
>your purposes.

Not really true; the Solaris 32 bit kernel can easily deal with large
amounts of RAM (Sun shipped 5GB systems runing 2.2/2.3 and upto 64 GB
in Solaris 2.5.1/2.6).

64 bit artithmetic will help, but don't forget that many kernel
data structures becomes perhaps twice as big.

>Solaris 7 itself might provide a real advantage.  If you use the
>system for other stuff, I'd bet your news would tend to drive other
>stuff out of RAM and onto swap.  You could do "set priority_paging=1"
>in /etc/system and avoid that.  It might slow down news a little bit
>but should make other stuff run faster.

The "noatime" option will help a lot for news spools.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

Re: Solaris 7 64-bit and INN 2.2 traditional spool
#35753
Author: Drazen Kacar
Date: Wed, 03 Mar 1999 00:00
20 lines
1888 bytes
logan_shaw@yahoo.com wrote:

> I can't think of one.  It seems to me the big advantage of the 64-bit
> kernel is that you can have more main memory.  If you actually have
> greater than 2 GB RAM, this might be a benefit.  (Keeping your entire
> news spool in RAM can't hurt!)  64-bit arithmetic is also a benefit of
> the 64-bit kernel, but I can't see how this would be helpful for inn.
> Basically, I can't see how 32-bit or 64-bit makes any difference for
> your purposes.

64 bit applications are usually up to 10% slower in normal conditions
and could really destroy the performance in case of RAM shortage.

-- 
 .-.   .-.    Life is a sexually transmitted disease.
(_  \ /  _)
     |        dave@srce.hr
     |        dave@fly.cc.fer.hr

Re: Solaris 7 64-bit and INN 2.2 traditional spool
#35767
Author: Russell Vincent
Date: Wed, 03 Mar 1999 00:00
17 lines
1332 bytes
In comp.unix.solaris logan_shaw@yahoo.com wrote:
> Also, based on anecdotal experience (not quantitative tests), it seems
> like ufs with logging is faster at creating lots of small files than
> ufs without logging.  If this is true for you, it should improve inn
> performance for the traditional spool.

That and the noatime option are a significant win. I am using
Solaris 7 with Diablo feeders and disk io has dropped significantly
after upgrading from Solaris 2.5.1 to 7.

I have also had no stability/portability problems with Solaris 7
for news servers (INN 2.2 in a test environment and Diablo 1.23).

 -Russell


Re: Solaris 7 64-bit and INN 2.2 traditional spool
#35774
Author: Chris Tilbury
Date: Wed, 03 Mar 1999 00:00
33 lines
2025 bytes
logan_shaw@yahoo.com wrote:
> 
> In article <7beca7$9do$1@drum.msfc.nasa.gov>,
>   porter.clark@msfc.nasa.gov (J. Porter Clark) wrote:
> > Basically, my question is:  Why?
> >
> > I'm considering upgrading my Ultra E3000 to Solaris 7.  It's using INN
> > 2.2 and traditional spool.  Is there any reason for using the 64-bit
> > kernel instead of 32-bit?
>
> Also, based on anecdotal experience (not quantitative tests), it seems
> like ufs with logging is faster at creating lots of small files than
> ufs without logging.  If this is true for you, it should improve inn
> performance for the traditional spool.

Also, you'll be able to mount your news spool with the "noatime" option,
stopping the filesystem from updating access times on all those spool files.
That should be a great help.

Cheers,




Chris

-- 
       All opinions stated in this message are my own. Hands off!!
Chris Tilbury, UNIX Systems Administrator, IT Services, University of Warwick
MAIL:cudch@csv.warwick.ac.uk WWW:http://www.warwick.ac.uk/staff/Chris.Tilbury

Re: Solaris 7 64-bit and INN 2.2 traditional spool
#35778
Author: logan_shaw
Date: Wed, 03 Mar 1999 00:00
33 lines
2306 bytes
In article <7beca7$9do$1@drum.msfc.nasa.gov>,
  porter.clark@msfc.nasa.gov (J. Porter Clark) wrote:
> Basically, my question is:  Why?
>
> I'm considering upgrading my Ultra E3000 to Solaris 7.  It's using INN
> 2.2 and traditional spool.  Is there any reason for using the 64-bit
> kernel instead of 32-bit?

I can't think of one.  It seems to me the big advantage of the 64-bit
kernel is that you can have more main memory.  If you actually have
greater than 2 GB RAM, this might be a benefit.  (Keeping your entire
news spool in RAM can't hurt!)  64-bit arithmetic is also a benefit of
the 64-bit kernel, but I can't see how this would be helpful for inn.
Basically, I can't see how 32-bit or 64-bit makes any difference for
your purposes.

Solaris 7 itself might provide a real advantage.  If you use the
system for other stuff, I'd bet your news would tend to drive other
stuff out of RAM and onto swap.  You could do "set priority_paging=1"
in /etc/system and avoid that.  It might slow down news a little bit
but should make other stuff run faster.

Also, based on anecdotal experience (not quantitative tests), it seems
like ufs with logging is faster at creating lots of small files than
ufs without logging.  If this is true for you, it should improve inn
performance for the traditional spool.

  - Logan

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: Solaris 7 64-bit and INN 2.2 traditional spool
#35847
Author: J. Porter Clark
Date: Mon, 08 Mar 1999 00:00
19 lines
1695 bytes
brad@shub-internet.org (Brad Knowles) writes:

>    You can also do this with Solaris 2.6.  In fact, if you're using
>Solaris 2.6, you can buy the Veritas VxFS journaling filesystem and get
>*much* better performance than you'd ever see out of UFS logging. 
>However, note that VxFS is quite expensive, and may or may not be worth
>the cost in your application.  Also note that it is not yet available for
>Solaris 7.

I keep hearing good things about journaling and UFS logging.  But I
thought that either of these techniques merely pushed the chore of
updating metadata to another disk, which then becomes the bottleneck
unless that disk is extremely fast.  Am I wrong?

-- 
J. Porter Clark    porter.clark@msfc.nasa.gov
NASA/MSFC Flight Data Systems Branch

Re: Solaris 7 64-bit and INN 2.2 traditional spool
#35853
Author: Brad Knowles
Date: Mon, 08 Mar 1999 00:00
53 lines
3511 bytes
In article <7c0ptm$oj3$1@drum.msfc.nasa.gov>, porter.clark@msfc.nasa.gov
(J. Porter Clark) wrote:

> I keep hearing good things about journaling and UFS logging.  But I
> thought that either of these techniques merely pushed the chore of
> updating metadata to another disk, which then becomes the bottleneck
> unless that disk is extremely fast.  Am I wrong?

    As I understand it, the theory of journalling and UFS logging is that
you have a commit log which is written in the order it is received. 
Therefore, for this partition, there is virtually no banging the heads
around as you randomly seek all over the partition, instead stuff just
flows in and it flows out.  The writes to this partition are pretty much
at streaming I/O rates.  And this is what would otherwise be synchronous
metadata updates.

    When it comes time to commit the changes, they're all committed at
once, en masse.  Therefore if a lot of little files have been created and
then deleted, you zero out those operations and never bother committing
them.


    IMO, you *don't* want to put the logging partition on the same disks
as the data itself.  This is where a 64MB solid-state disk (such as the
Quantum "Rushmore" drives) would be ideal -- not too incredibly expensive,
and sized just right for the job.  And they wouldn't need to be mirrored
in this case, whereas you would really want to do that if you were going
to use real physical moving media.


    JFS is not as good as a full cyclical filesystem (such as you would
get with CNFS under INN 2.x), but if you want to stick with a traditional
spool (maybe you don't yet trust CNFS under INN, or you just like the
ability to cd down to a particular subdirector and type "grep"), then it
would be a decent compromise.


    Other extent-based filesystems (e.g., Compaq's Digital Unix, a.k.a.
"Tru64") should give you similar benefits.  However, again, you have to be
able to trust them.  And historically, extent-based filesystems continue
to have some problems, if relatively minor.

    JFS filesystems (especially Veritas VxFS) are typically rock-solid,
because what they're selling you is robustness of the filesystem, and
you're buying it for that plus the additional speed it would give you.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Solaris 7 64-bit and INN 2.2 traditional spool
#35859
Author: logan_shaw
Date: Mon, 08 Mar 1999 00:00
52 lines
3647 bytes
In article <7c0ptm$oj3$1@drum.msfc.nasa.gov>,
  porter.clark@msfc.nasa.gov (J. Porter Clark) wrote:
> brad@shub-internet.org (Brad Knowles) writes:
> you can buy the Veritas VxFS journaling filesystem and get
> >*much* better performance than you'd ever see out of UFS logging.
>
> I keep hearing good things about journaling and UFS logging.  But I
> thought that either of these techniques merely pushed the chore of
> updating metadata to another disk, which then becomes the bottleneck
> unless that disk is extremely fast.  Am I wrong?

It is true, of course, that the operations are still disk operations
and they are just moved to another disk (except with Solaris 7's ufs
logging, where the log is stored inside the same partition).  However,
the nature of a log is that it's faster for certain kinds of updates
than a traditional filesystem, at least the way I understand it.
A log is basically a big circular buffer, and all updates are appended
to the end of the log.  The same record may appear twice in the log;
if so, the second one is the correct one.  Thus, all changes to the
filesystem can be accomplished by simply making some sequential writes,
at least until the log fills up.  (When it does, its data is then
flushed to the "real" filesystem.)

So, the point is that not that the disk is faster, but that the pattern
of access is sequential rather than random, and you can get better
performance this way.  You won't necessarily get better performance
because the log must be flushed when it fills up, and this could
take away all the benefit of the log under certain circumstances
like maybe a constantly heavy load.

And then there are other approaches, too.  In theory, you can buy a
nice fast 10000 RPM drive for logging even if you can't afford
10000 RPM drives for everything else, and that might improve
performance.  Or, you could even stripe the log across disks
in theory.  And, I'm not sure, but a RAID5 disk may be slower in
updating than even a normal disk (because the parity stuff must be
computed), so a log might help out there too.

Please note that I am not an operating systems researcher, I don't
have source code to Solaris (or Veritas or anything else), and I don't
work for Sun, so maybe I'm completely wrong.  What I've said is based
on a small to medium amount of generic knowledge of how log-structured
filesystems work and experiences with Solaris 7 (such as a script
that creates 2000+ symbolic links which magically runs faster if I
have ufs logging turned on).

  - Logan

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads