🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Al Wed, 29 Oct 1997 00:00
Re: Solstice DiskSuite and Striping Parameters
#22747
Author: Al
Date: Wed, 29 Oct 1997 00:00
65 lines
2556 bytes
James F. Hranicky (jfh@tick.cise.ufl.edu) wrote:
: I've just recently had to rebuild my news server due to a disk
: failure, and have been looking through dejanews articles to see what
: others have done.
: 
: Here's the dope on what's on the machine:
: 
: Solaris 2.5, inn-1.7.insync (actived, JG timer patch, etc)
: 
:   4 4.2G disks:
: 
: Each disk has the same number of blocks and cylinders:
: 
:   2     backup    wu       0 - 3879        4.00GB    (3880/0/0) 8380800
: 
: This makes for 2160 blocks per cylinder.

Using SDS, I always put a 10M partition on each disk and store 3
copies of the metadb's.  You can set this up using the metadb
command, and having 3 copies on every disk will give you maximum
resiliency in the event of a spool problem.
: 
: Noticing that many recommend stripe sizes of 1 cylinder, and that
: others recommend even larger stripes > 4M, I tried to do both, and
: set up a stripe on the four disks of 8640 blocks, exactly four
: cylinders (approx 4M) long.
: 
: Then I newfs'd the metadevice with a simple
: 
: 	newfs -m 1 /dev/md/rdsk/d0
: 
: (the "-m 1" comes from _Configuration and Capacity Planning for Solaris
: Servers_, by Brian Wong, who incidentally recommended a stripe of 
: 64k and a maxcontig of an integer multiple of the stripe, unlike others
: on usenet).

-m 1 is good, since by default Solaris reserves 10% of the disk for 
root-only overages. This is another good efault for newfs'ing.

: 
: However, according to Joe Greco's timer patch, I'm between 95-98% busy
: writing articles:
: 
: 
: I figure either
: 
: 	1) I'm going to be busy for a while getting all this new
: 	   news
: 
: 	2) I've screwed up my configuration
: 	
: 	3) Both of the above

Getting all the news initially will cause a spurt initially, but it
will level out. I recommend a 1 cylinder stripe, and in a similar
config, except with inn1.5.1, its worked excellently.

-- 

Al Dowski
Director of Server Operations,
Aimnet Corporation

Re: Solstice DiskSuite and Striping Parameters
#22791
Author: James F. Hranicky
Date: Thu, 30 Oct 1997 00:00
49 lines
2607 bytes
In article <638a84$du9$1@news.aimnet.com>, Al <lynch@aimnet.com> wrote:
>James F. Hranicky (jfh@tick.cise.ufl.edu) wrote:
>: I've just recently had to rebuild my news server due to a disk
>: failure, and have been looking through dejanews articles to see what
>: others have done.


>: I figure either
>: 
>: 	1) I'm going to be busy for a while getting all this new
>: 	   news
>: 
>: 	2) I've screwed up my configuration
>: 	
>: 	3) Both of the above
>
>Getting all the news initially will cause a spurt initially, but it
>will level out. I recommend a 1 cylinder stripe, and in a similar
>config, except with inn1.5.1, its worked excellently.

Here's the output of iostat -x :

<root@thunder:/> # iostat -x
                                 extended disk statistics 
	disk      r/s  w/s   Kr/s   Kw/s wait actv  svc_t  %w  %b 
	md0      18.2 35.8  114.8  237.8  0.0  5.9  108.9   0  76 
	sd1       1.7  3.2    7.9   18.1  0.0  0.5  107.3   0   6 
	sd3       0.7  1.3    3.9    9.4  0.0  0.1   28.3   0   3 
=>	sd15     16.8 29.7  105.5  193.3  1.6  4.1  122.4   2  72 
=>	sd16      1.0  4.1    5.8   29.2  0.0  0.1   21.1   0   8 
=>	sd17      0.2  1.2    1.6    9.1  0.0  0.0   14.8   0   2 
=>	sd18      0.1  0.5    0.9    4.1  0.0  0.0   10.9   0   1 
	sd29     10.4 13.1   62.1   77.1  0.1  1.5   69.0   1  27 
	
The disks with arrows are in the stripe. It almost looks like I
screwed up and created a concatenation rather than a stripe, 
although I don't *think* I did...

metastat doesn't really tell me anything...is there any way to find
out more detailed info on the metadevice?

----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin                   UF/CISE Department |
| E314E CSE Building                            Phone (904) 392-1499 |
| jfh@cise.ufl.edu                       http://www.cis.ufl.edu/~jfh |
----------------------------------------------------------------------

Re: Solstice DiskSuite and Striping Parameters
#22794
Author: Scott Gifford
Date: Thu, 30 Oct 1997 00:00
42 lines
2216 bytes
[ Crossposted to comp.unix.solaris ]

>: Then I newfs'd the metadevice with a simple
>:
>: newfs -m 1 /dev/md/rdsk/d0
>:
>: (the "-m 1" comes from _Configuration and Capacity Planning for Solaris
>: Servers_, by Brian Wong, who incidentally recommended a stripe of
>: 64k and a maxcontig of an integer multiple of the stripe, unlike others
>: on usenet).
>
>-m 1 is good, since by default Solaris reserves 10% of the disk for
>root-only overages. This is another good efault for newfs'ing.


  Does this cause any problems?  I remember reading that the Berkeley Fast
File System that Solaris's UFS is based on performs significantly better
when it has 10% of the disk to play with.  Is this no longer the case?

  Actually, here's the quote from tunefs(1M):

     -m minfree      Specify the percentage of  space  held  back
                    from  normal  users;  the  minimum free space
                    threshold.  The default value  used  is  10%.
                    This  value  can be set to 0, however up to a
                    factor of three in throughput  will  be  lost
                    over the performance obtained at a 10% thres-
                    hold.  Note:  If the value  is  raised  above
                    the current usage level, users will be unable
                    to allocate files  until  enough  files  have
                    been  deleted  to get under the higher thres-
                    hold.

  Is this just an old manpage?...

-----Scott.




Re: Solstice DiskSuite and Striping Parameters
#22810
Author: Peter Maurice-Jones
Date: Fri, 31 Oct 1997 00:00
55 lines
2765 bytes
"Scott Gifford" <sgifford@tir.com> writes:

> [ Crossposted to comp.unix.solaris ]
> 
> >: Then I newfs'd the metadevice with a simple
> >:
> >: newfs -m 1 /dev/md/rdsk/d0
> >:
> >: (the "-m 1" comes from _Configuration and Capacity Planning for Solaris
> >: Servers_, by Brian Wong, who incidentally recommended a stripe of
> >: 64k and a maxcontig of an integer multiple of the stripe, unlike others
> >: on usenet).
> >
> >-m 1 is good, since by default Solaris reserves 10% of the disk for
> >root-only overages. This is another good efault for newfs'ing.
> 
> 
>   Does this cause any problems?  I remember reading that the Berkeley Fast
> File System that Solaris's UFS is based on performs significantly better
> when it has 10% of the disk to play with.  Is this no longer the case?

this was true with smaller disks of old where 10% was a couple of MB
but with the big disks of today 10% implies 400-900MB sometimes!!!!

the UFS filesystem can perform optimisation fine with 40MB of disk
space which is about 1% of todays capacitiess...

> 
>   Actually, here's the quote from tunefs(1M):
> 
>      -m minfree      Specify the percentage of  space  held  back
>                     from  normal  users;  the  minimum free space
>                     threshold.  The default value  used  is  10%.
>                     This  value  can be set to 0, however up to a
>                     factor of three in throughput  will  be  lost
>                     over the performance obtained at a 10% thres-
>                     hold.  Note:  If the value  is  raised  above
>                     the current usage level, users will be unable
>                     to allocate files  until  enough  files  have
>                     been  deleted  to get under the higher thres-
>                     hold.
> 
>   Is this just an old manpage?...
> 
> -----Scott.
> 
> 
> 

-- 
Peter Maurice-Jones               e-mail: peter.mj@amoco.com
Amoco Services Limited            Senior Unix Systems Administrator

Re: Solstice DiskSuite and Striping Parameters
#22815
Author: Charles
Date: Fri, 31 Oct 1997 00:00
20 lines
1468 bytes
In comp.unix.solaris Casper H.S. Dik - Network Security Engineer <Casper.Dik@Holland.Sun.Com> wrote:

: Emperical data suggest, though, that that threshold is smaller than 10%
: for larger disks (more like 2 or 3%, I'm told)

But what is a larger disk? 1gig is small today, but it was big yesterday. 
Today 2 gig is average and 9 gig is large.  Tomorrow, 9 gig will be small.

I wish people wouldn't use adjectives like larger, smaller, etc, in the
computer world.  

-- 
        Harnad describes the status of Usenet aptly:
                a communication medium with revolutionary intellectual
                potential being used mostly as a global graffiti board.
                [Harnad 1991]


Re: Solstice DiskSuite and Striping Parameters
#22821
Author: Jeff Mohler
Date: Fri, 31 Oct 1997 00:00
62 lines
3504 bytes
Mike Horwath wrote:

> James F. Hranicky <jfh@tick.cise.ufl.edu> wrote:
> : Here's the output of iostat -x :
>
> : <root@thunder:/> # iostat -x
> :                                  extended disk statistics
> :       disk      r/s  w/s   Kr/s   Kw/s wait actv  svc_t  %w  %b
> :       md0      18.2 35.8  114.8  237.8  0.0  5.9  108.9   0  76
> :       sd1       1.7  3.2    7.9   18.1  0.0  0.5  107.3   0   6
> :       sd3       0.7  1.3    3.9    9.4  0.0  0.1   28.3   0   3
> : =>    sd15     16.8 29.7  105.5  193.3  1.6  4.1  122.4   2  72
> : =>    sd16      1.0  4.1    5.8   29.2  0.0  0.1   21.1   0   8
> : =>    sd17      0.2  1.2    1.6    9.1  0.0  0.0   14.8   0   2
> : =>    sd18      0.1  0.5    0.9    4.1  0.0  0.0   10.9   0   1
> :       sd29     10.4 13.1   62.1   77.1  0.1  1.5   69.0   1  27
> :
> : The disks with arrows are in the stripe. It almost looks like I
> : screwed up and created a concatenation rather than a stripe,
> : although I don't *think* I did...

Here is my stripe on news.wcg.net:

---
# iostat -x  (* Denotes /var/spool/articles partition)
                               extended device statistics
device    r/s  w/s   kr/s   kw/s wait actv  svc_t  %w  %b
fd0       0.0  0.0    0.0    0.0  0.0  0.0    0.0   0   0
md0       0.0  0.0    0.0    0.0  0.0  0.0    9.4   0   0
md1       0.0  0.0    0.0    0.0  0.0  0.0    7.5   0   0
md2       0.0  0.0    0.0    0.0  0.0  0.0    8.7   0   0
md3       0.5  2.6    6.3  204.3  0.0  0.3  108.0   0   5
md4       0.5  2.6    6.3  204.3  0.0  0.4  114.9   0   5
md5       1.1  2.6   12.7  204.3  0.0  0.4  126.6   1   6
md6      29.7 50.6  229.8  435.0  0.0  3.9   48.8   0  52
sd0       3.7  2.4   33.2   42.4  0.1  0.4   76.2   0   7
sd6       0.0  0.0    0.0    0.0  0.0  0.0    3.9   0   0
sd17      0.0  0.0    0.0    0.0  0.0  0.0    8.7   0   0
*sd18      4.4  8.0   28.5   56.5  0.0  0.6   50.6   0  14
*sd19      4.7  7.9   28.9   54.0  0.0  0.6   46.1   0  14
*sd20      4.4  7.8   28.5   53.7  0.0  0.5   44.6   0  13
*sd22      4.4  7.7   28.7   54.4  0.0  0.6   46.4   0  13
sd23      0.5  2.6    6.3  204.3  0.0  0.3  108.0   0   5
sd24      0.0  0.0    0.0    0.0  0.0  0.0    6.9   0   0
*sd25      4.5  7.7   28.8   54.5  0.0  0.6   52.4   0  14
*sd26      4.7  7.8   29.0   54.2  0.0  0.7   56.0   0  14
*sd27      4.4  7.7   28.6   54.5  0.0  0.6   46.8   0  13
*sd28      4.4  7.6   28.8   53.4  0.0  0.5   44.0   0  14
sd29      0.5  2.6    6.3  204.3  0.0  0.4  114.8   0   5
nfs1      0.0  0.0    0.0    0.0  0.0  0.0    0.0   0   0


--
Geoff Mohler        Resistance is futile!  (if < 1ohm)
Network Services Analyst  http://www.tgn.net/~gemohler
Williams Communications Group  S.O.N.I.C. Member (WWW.SUPRAS.COM)
(918)588-5239    87T @385Hp



Re: Solstice DiskSuite and Striping Parameters
#22822
Author: Peter Haag
Date: Fri, 31 Oct 1997 00:00
50 lines
2836 bytes
Scott Gifford wrote:
- 
snip ..
- 
-   Does this cause any problems?  I remember reading that the Berkeley
Fast
- File System that Solaris's UFS is based on performs significantly
better
- when it has 10% of the disk to play with.  Is this no longer the case?
- 
-   Actually, here's the quote from tunefs(1M):
- 
-      -m minfree      Specify the percentage of  space  held  back
-                     from  normal  users;  the  minimum free space
-                     threshold.  The default value  used  is  10%.
-                     This  value  can be set to 0, however up to a
-                     factor of three in throughput  will  be  lost
-                     over the performance obtained at a 10% thres-
-                     hold.  Note:  If the value  is  raised  above
-                     the current usage level, users will be unable
-                     to allocate files  until  enough  files  have
-                     been  deleted  to get under the higher thres-
-                     hold.
- 
-   Is this just an old manpage?...

Yes. That's a bug in the man page. I asked SUN about this problem 
and they confirmed me that minfree less than 10% has no impact on the
performance.

	- Peter

- 
- -----Scott.

-- 
---------------------------------------------------------------------
|                                                                   |
| <_~ |  | | <_~ <_~ /~  /~\ |\/|     Peter Haag                    |
| ,_> |/\| | ,_> ,_> \_, \_/ |  |     peter@ip-plus.net             |
|                                     peter@unisource.ch            |
| IP - Plus Internet                                                |
|                             Tel. +41 (0)1 445 19 45               |
|                             FAX. +41 (0)1 445 19 50               |
| PGP public key                                                    |
| http://www-swiss.ai.mit.edu/~bal/pks-commands.html#extract        |
---------------------------------------------------------------------

Re: Solstice DiskSuite and Striping Parameters
#22831
Author: Casper H.S. Dik - Network Securi...
Date: Fri, 31 Oct 1997 00:00
27 lines
1656 bytes
[[ Reply by email or post, don't do both ]]

Peter Haag <peter@unisource.ch> writes:

>Yes. That's a bug in the man page. I asked SUN about this problem 
>and they confirmed me that minfree less than 10% has no impact on the
>performance.


The value of the minfree parameter itself has no impact on performance;
the % use of the disk does.

Performance will degrade if teh disk gets to full, an dquite rapidly after
a certain treshold.

Emperical data suggest, though, that that threshold is smaller than 10%
for larger disks (more like 2 or 3%, I'm told)

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.

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