Thread View: news.software.nntp
30 messages
30 total messages
Started by Michael Hucka
Tue, 27 May 1997 00:00
Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Michael Hucka
Date: Tue, 27 May 1997 00:00
Date: Tue, 27 May 1997 00:00
52 lines
3456 bytes
3456 bytes
Can someone point me to web pages or other sources of information for how to go about tuning an Ultra-2 running Solaris 2.5.1 with a hardware RAID box (from MTI, RAID level 0, 8 x 4G disks, 64k stripe size)? We recently brought up this combination for our news server (INN 1.5.1, innfeed 0.10.1.4, gcc -O3), and quite to my astonishment, iostat and general server performance indicate that i/o performance is not blistering. Iostat tends to show the array at 90+% busy, with svc_t up around 30-40 msec. This is on a machine with about 16 feeds (in and out), and typically about 10-15 readers during the day. The RAID is used for the article spool only; we have separate individual disks for the history file, active file, outgoing batches, and overviews. (In other words, hardware overkill.) Timing numbers from Joe Greco's innd-timer patch typically look like this: Code region Time Pct Invoked Each idle 00:02:34.133 0.2% 101484 1.519 article write 13:32:44.379 58.9% 274828 177.436 article control 01:41:45.828 7.4% 68773 88.782 article cancel 00:07:20.693 0.5% 1492 295.371 crosslink 00:00:08.494 0.0% 141487 0.060 site send 00:10:18.489 0.7% 1100541 0.562 history write 00:04:46.845 0.3% 326540 0.878 history sync 00:00:18.734 0.0% 27547 0.680 history lookup 05:41:37.235 24.7% 870562 23.545 history grep 00:02:10.593 0.2% 18355 7.115 Maybe I was being optimistic in my performance expectations, but still, I'd like to see if there are ways of tweaking the system, especially w.r.t. reading/writing on the RAID, so that the time to perform the various operations decreases. There must be kernel buffers, etc., settings that can be manipulated, but I have no experience in doing that and am basically clueless about how. Also, what are the best tools to use for analyzing the system performance? The following are the Solaris patches we have installed: 103461-13 103612-07 103686-01 103879-04 104706-01 103582-06 103630-05 103696-02 103903-02 103591-05 103640-06 103743-01 103955-02 103600-07 103663-05 103857-04 104010-01 103603-04 103680-01 103866-02 104516-01 Any help from the gurus among you would be greatly appreciated. -- Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University PhD to be, computational models of human visual processing (AI Lab) of UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Michael Hucka
Date: Wed, 28 May 1997 00:00
Date: Wed, 28 May 1997 00:00
18 lines
1360 bytes
1360 bytes
Some more information I neglected to include in my original message: hucka> hardware RAID box (from MTI, RAID level 0, 8 x 4G disks, 64k stripe hucka> size)? That's 64 kbytes for the stripes. It's hardware RAID -- no ODS. The choice of 4Gb drives was because we're using a box we've had for a while (otherwise we would have gone with 2 Gb drives). The machine has 380 MB of RAM. -- Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University PhD to be, computational models of human visual processing (AI Lab) of UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: R. Joyner
Date: Wed, 28 May 1997 00:00
Date: Wed, 28 May 1997 00:00
67 lines
3399 bytes
3399 bytes
Joe Greco wrote: > :If this was an Oracle database, I'd say stick with 64k stripes, but for > :lots of really small file transactions, 64k will choke you. 8k is much > :better. > > Why do you say this? What's the theory? If you have 64k stripes, and > lots of small, random transactions, they should still be randomly spread > out over all the disks. What you DON'T want is for a single transaction > to overlap and involve multiple disks. That doesn't seem likely, at > first, even with a small stripe size, but then if you start to consider > second order effects (such as looking up the filename in the directory, > i.e. the last iteration of namei), then you have discovered a reason to > use a larger stripe size. > I say that because, as I understand it, even if you don't have 64k worth of stuff to write, it will still write a 64k stripe, thus wasting time. These units do have a write-gathering cache, but still... You take a performance penalty on the reads too, no? Reading 64k just to get 8k worth of data seems like a waste as well. I've seen the numbers from MTI's engineers that tend to support this theory. > It will not only NOT "choke you", it will actually increase concurrency > in your I/O system. You will go... faster! > > :I also run RAID-5 instead of RAID-0. > > Ewww. You are eating a penalty for updating both the parity AND the data, > rather than just updating the data. Of course, you gain reliability, but > I would probably prefer to spend the money and mirror, so that there is no > performance penalty. Well..given the propensity for disks to fail, and the overhead for mirroring software (ODS? Ick!), it seems like a small price to pay. At least the parity is striped too. RAID-3 would REALLY suck in this case. > > RAID5 for small transactions sucks. Of course, throw enough disks and > money at it, and it will perform reasonably well. > That's the whole reason for write / read caching. > :I currently use one of MTI's RAIDs on my news relay. It pumps out over > :35 GB of traffic per day, and I have yet to see the first RAID > :bottleneck. > > I currently don't bother with RAID because I can design a better I/O > system based on theory of operation. I have yet to see the first > disk system bottleneck too... :-) (40+ articles/sec, not using CNFS). > Glad you've got it working so well. I doubt I'd use RAID either if I had a LVM (Logical Volume Manager) a-la IBM on my Sun. Now *that* would be cool! > ... JG -- Reece Joyner Senior Systems Engineer American Information Systems, Inc. http://www.ais.net NOTE: REMOVE the # in my address for proper mail delivery.
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Jerry Aguirre
Date: Wed, 28 May 1997 00:00
Date: Wed, 28 May 1997 00:00
39 lines
2613 bytes
2613 bytes
In article <338c529c.0@news3.ais.net>, R. Joyner <rjoyner@ais.net> wrote: >Joe Greco wrote: >I say that because, as I understand it, even if you don't have 64k worth >of stuff to write, it will still write a 64k stripe, thus wasting time. I have never read anywhere that RAID has to read or write the entire stripe size for each transaction. Can you quote some source? Perhaps this is an implemenation detail of a particular product. Hardware RAID may try to cache the entire track but that should have no relationship to the stripe size. Are you saying that if I made the stripe size equal to 12MB that RAID would read/write that much every time? I am using that stripe size and am very pleased with performance. I don't see how I could handle a full feed if each article required that much IO. I am glad that your configuration with a small stripe size works for you. However I would attribute your success more to the smarts of your raid vendor's design than your choice of stripe size. I can see two ways this discussion about stripe size will be resolved. First would be for someone measure their system with one stripe size, rebuild everything with a different stripe size, and then measure again. By measure I mean run with real traffic, not some pathetic attempt using dd. Given that changing raid size is disctructive this seems unlikely to happen. Perhaps someone's spool will get trashed and they will be able to perform this experiment? The problem is they are unlikely to have kept useful data. I just did a reconfiguration from 16KB stripe size to 12MB but it was not for a news spool. The disks went from being 90% busy to just 30% busy. The second method would be to do a theoretical model of disk IO preferably using real data collected from a running system. The problem is that the model could miss some crucial factor and be wrong.
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Ragnar Lonn
Date: Wed, 28 May 1997 00:00
Date: Wed, 28 May 1997 00:00
32 lines
1874 bytes
1874 bytes
In article <82u3jomc3g.fsf@peachfuzz.eecs.umich.edu>, Michael Hucka <hucka@eecs.umich.edu> wrote: >Some more information I neglected to include in my original message: > > hucka> hardware RAID box (from MTI, RAID level 0, 8 x 4G disks, 64k stripe > hucka> size)? > >That's 64 kbytes for the stripes. It's hardware RAID -- no ODS. The choice >of 4Gb drives was because we're using a box we've had for a while (otherwise >we would have gone with 2 Gb drives). > >The machine has 380 MB of RAM. > Sounds pretty good to me. Maybe your write cache memory on the RAID box isn't working? Seems to be the writes that slow you down. You're sure you're not running RAID-5 instead of RAID-0? We have a dedicated feed machine with about 20 peers and it's using a Voyager 3000 RAID box which works very well. 6 x 2GB disks hosting both newsspool and history database (I would've put the history database on another disk but didn't have enough space). It's running Diablo though, and not INN so it's not directly comparable. But service times are low, under 20ms almost all the time, with dozens of reads and writes /second. /Ragnar, Algonet/TNI
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Joe Greco
Date: Wed, 28 May 1997 00:00
Date: Wed, 28 May 1997 00:00
56 lines
3162 bytes
3162 bytes
In news.software.nntp article <5mgfsf$iqc@nntp0.riverside.il.ameritech.net>, rjoyner@ais.net wrote: :Michael Hucka wrote: :> :> Some more information I neglected to include in my original message: :> :> hucka> hardware RAID box (from MTI, RAID level 0, 8 x 4G disks, 64k stripe :> hucka> size)? :> :> That's 64 kbytes for the stripes. It's hardware RAID -- no ODS. The choice :> of 4Gb drives was because we're using a box we've had for a while (otherwise :> we would have gone with 2 Gb drives). : :I have also used MTI RAID boxes...found them to be quite nice... :I'd guess your problem to be the 64k stripe size. I think the minimum :is 8k, and should be used for most news boxen. Bad thing is, you have :to rewrite the entire RAID-set to do this (losing all the data and the :FS structure). : :If this was an Oracle database, I'd say stick with 64k stripes, but for :lots of really small file transactions, 64k will choke you. 8k is much :better. Why do you say this? What's the theory? If you have 64k stripes, and lots of small, random transactions, they should still be randomly spread out over all the disks. What you DON'T want is for a single transaction to overlap and involve multiple disks. That doesn't seem likely, at first, even with a small stripe size, but then if you start to consider second order effects (such as looking up the filename in the directory, i.e. the last iteration of namei), then you have discovered a reason to use a larger stripe size. It will not only NOT "choke you", it will actually increase concurrency in your I/O system. You will go... faster! :I also run RAID-5 instead of RAID-0. Ewww. You are eating a penalty for updating both the parity AND the data, rather than just updating the data. Of course, you gain reliability, but I would probably prefer to spend the money and mirror, so that there is no performance penalty. RAID5 for small transactions sucks. Of course, throw enough disks and money at it, and it will perform reasonably well. :I currently use one of MTI's RAIDs on my news relay. It pumps out over :35 GB of traffic per day, and I have yet to see the first RAID :bottleneck. I currently don't bother with RAID because I can design a better I/O system based on theory of operation. I have yet to see the first disk system bottleneck too... :-) (40+ articles/sec, not using CNFS). ... JG
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: R. Joyner
Date: Wed, 28 May 1997 00:00
Date: Wed, 28 May 1997 00:00
47 lines
2227 bytes
2227 bytes
Michael Hucka wrote: > > Some more information I neglected to include in my original message: > > hucka> hardware RAID box (from MTI, RAID level 0, 8 x 4G disks, 64k stripe > hucka> size)? > > That's 64 kbytes for the stripes. It's hardware RAID -- no ODS. The choice > of 4Gb drives was because we're using a box we've had for a while (otherwise > we would have gone with 2 Gb drives). > I have also used MTI RAID boxes...found them to be quite nice... I'd guess your problem to be the 64k stripe size. I think the minimum is 8k, and should be used for most news boxen. Bad thing is, you have to rewrite the entire RAID-set to do this (losing all the data and the FS structure). If this was an Oracle database, I'd say stick with 64k stripes, but for lots of really small file transactions, 64k will choke you. 8k is much better. I also run RAID-5 instead of RAID-0. I currently use one of MTI's RAIDs on my news relay. It pumps out over 35 GB of traffic per day, and I have yet to see the first RAID bottleneck. > The machine has 380 MB of RAM. Gobs.. Cheers! /rsj > > -- > Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University > PhD to be, computational models of human visual processing (AI Lab) of > UNIX systems administrator & programmer/analyst (EECS DCO) Michigan -- Reece Joyner Senior Systems Engineer American Information Systems, Inc. http://www.ais.net NOTE: REMOVE the # in my address for proper mail delivery.
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Peter J Naylor
Date: Wed, 28 May 1997 00:00
Date: Wed, 28 May 1997 00:00
25 lines
1841 bytes
1841 bytes
Hi Michael,
In article <82yb90mf99.fsf@peachfuzz.eecs.umich.edu>,
Michael Hucka <hucka@eecs.umich.edu> writes:
> Can someone point me to web pages or other sources of information for how to
> go about tuning an Ultra-2 running Solaris 2.5.1 with a hardware RAID box
> (from MTI, RAID level 0, 8 x 4G disks, 64k stripe size)?
^^^^^^^^^^^^^^^
I know there's been a lot of discussion over what is the best value
for this parameter - also in combination with the fragsize of the
file-system. Everyone seems to have differing ideas - just thought
you might have gotten unlucky with a bad combination? I'm using Sun's
DiskSuite and somewhat less fancy hardware so it's probably irrelevant,
but I've set the "interlace" to 16 blocks and the fragsize to 1024bytes.
--
/*-------------------------------------------------------------*
* Peter James Naylor ## SysAdmin, Supernal Technologies, Inc. *
*-------------------------------------------------------------*
* pete@supernal.net ## <http://www.supernal.net> *
*------------------------------------------------*/
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Paul Murphy
Date: Wed, 28 May 1997 00:00
Date: Wed, 28 May 1997 00:00
31 lines
1794 bytes
1794 bytes
Michael Hucka wrote: <snip> > Maybe I was being optimistic in my performance expectations, but still, I'd > like to see if there are ways of tweaking the system, especially w.r.t. > reading/writing on the RAID, so that the time to perform the various > operations decreases. There must be kernel buffers, etc., settings that can > be manipulated, but I have no experience in doing that and am basically > clueless about how. Also, what are the best tools to use for analyzing the > system performance? > Try the Sun-supplied (but unsupported) SymbEL performance management tools available under: http://www.eu.sun.com/960601/columns/adrian/se2.5.html I've had it running for about a week now, and its told me a lot about what the system is doing and where the bottlenecks are. Paul. -- ------------------------------------------------------ Paul J. Murphy - System and Network Manager Gemini Research Ltd, 162 Science Park, Cambridge Phone: 01223 435305 Fax: 01223 435301
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Matt Dillon
Date: Wed, 28 May 1997 00:00
Date: Wed, 28 May 1997 00:00
22 lines
1688 bytes
1688 bytes
With a news system, you generally want a large stripe size... two or more
cylinders (at least 4 megabytes). The goal is not to increase
per-file performance, but to decrease the number of seeks while still
retaining the advantages of load balancing. With a small stripe size,
each I/O operation will result in N seeks (one on each drive), which
destroys any performance one might have gained from striping. News
systems are, ultimately, seek-limited.
Other general items: The history file should be on a separate physical
disk. Some people put the overview tree on a separate physical disk
from the spool as well.
INN is extremely sensitive to the disk configuration. Transit-only
systems such as Diablo, Cyclone, and NNTPRelay are much less susceptible to
the problems one typically sees with INN, but don't have newsreader
capabilities.. only transit.
-Matt
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: R. Joyner
Date: Thu, 29 May 1997 00:00
Date: Thu, 29 May 1997 00:00
80 lines
3810 bytes
3810 bytes
Joe Greco wrote:
>
> In news.software.nntp article <338c529c.0@news3.ais.net>, rjoyner@ais.net wrote:
> :Joe Greco wrote:
> :
> :> :If this was an Oracle database, I'd say stick with 64k stripes, but for
> :> :lots of really small file transactions, 64k will choke you. 8k is much
> :> :better.
> :>
> Oh. ... no.. no... nononono!!!
>
> That's 65536 _disk blocks_ per stripe. You should be able to read and
> write any arbitrary 512 byte sector(/block) independently.
>
> Some RAID mfr's allow the underlying medium be reformatted with varying
> block/"stripe"/unit sizes - that is NOT what I am talking about. If
Ah..yes..a terminology collision indeed! Should have seen it coming.
> My whole news spool argument revolves around a concept of increasing
> concurrency while simultaneously increasing the chance of locality of
> reference benefits.
>
[snip]
Gosh Joe, sounds like you know the ins & outs of FFS like the back of
your hand. That's scary. :)
> The compromise is a leap of imagination that ends up with us trying to
> leverage off of FFS algorithmic behaviours to evenly distribute accesses
> between disks. By choosing a relatively large interleave or stripe size,
> one can cause all disk blocks in a given cylinder group to be on one
> particular drive. That seems obvious, but the implications are not
> (maybe).
>
> Now if you go re-read what I said before, it might make more sense.
>
Makes perfect sense now that we're on the same page..
> Hardware mirroring is fast. At least if done right, it should be a few
> percent slower for writes (theoretically just as fast), and up to twice
> as fast for reads (a bit less in practice). Software mirroring
> {c,sh}ould be just about as fast too. That does not imply that ODS is.
>
I think most folks agree that ODS is a pig. I've seen close to a 20%
performance penalty by using it (over hardware RAID). My numbers off a
similar type IBM (RS/6k) machine were not near that bad. Having the LVM
be an integral part of the kernel makes it a LOT speedier, plus IBM
spent
the effort to "get it right", IMHO. As for HP's version of a LVM, jury
is
still out on that (at least in this neck of the woods).
> :> RAID5 for small transactions sucks. Of course, throw enough disks and
> :> money at it, and it will perform reasonably well.
> :
> :That's the whole reason for write / read caching.
>
>
> As I said, throw enough money at it, and it will perform reasonably well.
Heh..True.. I guess if you *really* want to throw money at it, buy
solid-
state drives for your history, etc. :)
> Meanwhile I'll set up a nice little array of disks that will go faster,
> without the expense of the fancy RAID hardware. :-) I've been using
> ST-31055N's for news, if you have two dozen of them, that means that
> you have 12MB of cache, without spending any money on RAID at all...
>
--
Reece Joyner
Senior Systems Engineer
American Information Systems, Inc. http://www.ais.net
NOTE: REMOVE the # in my address for proper mail delivery.
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Joe Greco
Date: Thu, 29 May 1997 00:00
Date: Thu, 29 May 1997 00:00
63 lines
3705 bytes
3705 bytes
In news.software.nntp article <5mhrbd$3hv$1@fes.whowhere.com>, jerry@rigel.whowhere.com (Jerry Aguirre) wrote: :In article <338c529c.0@news3.ais.net>, R. Joyner <rjoyner@ais.net> wrote: :>Joe Greco wrote: :>I say that because, as I understand it, even if you don't have 64k worth :>of stuff to write, it will still write a 64k stripe, thus wasting time. I RESENT THAT! I did NOT write that, Jerry. :-) :I have never read anywhere that RAID has to read or write the entire :stripe size for each transaction. Can you quote some source? Perhaps :this is an implemenation detail of a particular product. Hardware RAID :may try to cache the entire track but that should have no relationship :to the stripe size. Hardware RAID does some funny stuff to optimize reads and writes. I know what he's thinking we meant, it's a terminology collision. :Are you saying that if I made the stripe size equal to 12MB that :RAID would read/write that much every time? I am using that stripe :size and am very pleased with performance. I don't see how I could :handle a full feed if each article required that much IO. That's where the fast/wide SCSI pays off. And all these years I've been calling people fools for buying f/w for news spools. :I am glad that your configuration with a small stripe size works for :you. However I would attribute your success more to the smarts of your :raid vendor's design than your choice of stripe size. : :I can see two ways this discussion about stripe size will be resolved. :First would be for someone measure their system with one stripe size, :rebuild everything with a different stripe size, and then measure :again. By measure I mean run with real traffic, not some pathetic :attempt using dd. Given that changing raid size is disctructive this :seems unlikely to happen. Perhaps someone's spool will get trashed and :they will be able to perform this experiment? The problem is they are :unlikely to have kept useful data. : :I just did a reconfiguration from 16KB stripe size to 12MB but it was :not for a news spool. The disks went from being 90% busy to just 30% :busy. : :The second method would be to do a theoretical model of disk IO :preferably using real data collected from a running system. The :problem is that the model could miss some crucial factor and be wrong. Oh, duh... duh... DUH!!! I don't know why I didn't think of it before. newsfeeds.sol.net uses an MD5 based message storage system that stores the messages evenly over a given number of drives. I don't currently use any striped partitions, as the MD5 thing makes it unnecessary, but there is NOTHING stopping me from making two equivalent partitions out of a few striped drives, varying only in stripe size, and then letting real NNTP traffic hit it for a few days. Hmmm... let's see... we'll take /news/.7 thru /news/.10 .. okay, then. I'll summarize what I discover. :-) ... JG
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Joe Greco
Date: Thu, 29 May 1997 00:00
Date: Thu, 29 May 1997 00:00
135 lines
7411 bytes
7411 bytes
In news.software.nntp article <338c529c.0@news3.ais.net>, rjoyner@ais.net wrote:
:Joe Greco wrote:
:
:> :If this was an Oracle database, I'd say stick with 64k stripes, but for
:> :lots of really small file transactions, 64k will choke you. 8k is much
:> :better.
:>
:> Why do you say this? What's the theory? If you have 64k stripes, and
:> lots of small, random transactions, they should still be randomly spread
:> out over all the disks. What you DON'T want is for a single transaction
:> to overlap and involve multiple disks. That doesn't seem likely, at
:> first, even with a small stripe size, but then if you start to consider
:> second order effects (such as looking up the filename in the directory,
:> i.e. the last iteration of namei), then you have discovered a reason to
:> use a larger stripe size.
:
:I say that because, as I understand it, even if you don't have 64k worth
:of stuff to write, it will still write a 64k stripe, thus wasting time.
:These units do have a write-gathering cache, but still...
:You take a performance penalty on the reads too, no? Reading 64k just
:to
:get 8k worth of data seems like a waste as well. I've seen the numbers
:from MTI's engineers that tend to support this theory.
Oh. ... no.. no... nononono!!!
That's 65536 _disk blocks_ per stripe. You should be able to read and
write any arbitrary 512 byte sector(/block) independently.
Some RAID mfr's allow the underlying medium be reformatted with varying
block/"stripe"/unit sizes - that is NOT what I am talking about. If
your RAID does that, you definitely want to shut it off. Most of the
traditional "RAID optimizations" fail miserably on a news spool, due to
the very small bursts of writes that news tends to want to do all over
the place. RAID arrays have always suffered from that problem - its
one reason that standard advice is to turn off atime updates on a RAID5
filesystem if your OS allows it and you don't need atime updates.
My whole news spool argument revolves around a concept of increasing
concurrency while simultaneously increasing the chance of locality of
reference benefits.
1) There is really no way to speed up a single article read (i.e. on an
idle spool). Drives move at a particular speed, and on average, it's
going to take a particular amount of time to seek from one arbitrary
location on the disk to another. I argue, in particular, that a RAID
array fetching an article can not be faster than a single component
drive of that array.
This does not take into account any caching effects, etc., as I am
trying to demonstrate worst case behaviour. Caching can happen on
the drive itself, a RAID controller, a caching SCSI controller, or
OS caching. I assume that all of these are possible, of course.
This is a key argument, and may take some thinking about in order
to understand.
2) If we accept #1, then it becomes clear that there is no point in
involving more than one disk mechanism in a particular access, as
it has no (average) speed advantage. However, if we have multiple
mechanisms, we can try to optimize events so that several events
are being processed concurrently. This yields an average performance
increase in terms of transactions per second: given a sufficient
number of events per second, performance theoretically increases
linearly with the number of mechanisms we have.
3) If we accept #2, we now try to figure out how to implement it.
In a scenario with static readonly data, one would simply copy the
disk N times, and the problem would be solved. However, this would
incur a write penalty.... :-)
The compromise is a leap of imagination that ends up with us trying to
leverage off of FFS algorithmic behaviours to evenly distribute accesses
between disks. By choosing a relatively large interleave or stripe size,
one can cause all disk blocks in a given cylinder group to be on one
particular drive. That seems obvious, but the implications are not
(maybe).
Now if you go re-read what I said before, it might make more sense.
:> It will not only NOT "choke you", it will actually increase concurrency
:> in your I/O system. You will go... faster!
:>
:> :I also run RAID-5 instead of RAID-0.
:>
:> Ewww. You are eating a penalty for updating both the parity AND the data,
:> rather than just updating the data. Of course, you gain reliability, but
:> I would probably prefer to spend the money and mirror, so that there is no
:> performance penalty.
:
:Well..given the propensity for disks to fail, and the overhead for
:mirroring
:software (ODS? Ick!), it seems like a small price to pay. At least the
:parity is striped too. RAID-3 would REALLY suck in this case.
Hardware mirroring is fast. At least if done right, it should be a few
percent slower for writes (theoretically just as fast), and up to twice
as fast for reads (a bit less in practice). Software mirroring
{c,sh}ould be just about as fast too. That does not imply that ODS is.
:> RAID5 for small transactions sucks. Of course, throw enough disks and
:> money at it, and it will perform reasonably well.
:
:That's the whole reason for write / read caching.
Uh, yes, if you're writing lots of continuously streaming data. On the
other hand, if you have a five disk RAID5, and you wish to update a single
block, you end up involving several drive mechanisms and your caching only
marginally pays off because you're having to cache multiple blocks to be
written back instead of just one. That's fine - but it's inefficient when
you consider that you could have made better use of the resources.
As I said, throw enough money at it, and it will perform reasonably well.
Meanwhile I'll set up a nice little array of disks that will go faster,
without the expense of the fancy RAID hardware. :-) I've been using
ST-31055N's for news, if you have two dozen of them, that means that
you have 12MB of cache, without spending any money on RAID at all...
:> :I currently use one of MTI's RAIDs on my news relay. It pumps out over
:> :35 GB of traffic per day, and I have yet to see the first RAID
:> :bottleneck.
:>
:> I currently don't bother with RAID because I can design a better I/O
:> system based on theory of operation. I have yet to see the first
:> disk system bottleneck too... :-) (40+ articles/sec, not using CNFS).
:>
:Glad you've got it working so well.
:
:I doubt I'd use RAID either if I had a LVM (Logical Volume Manager) a-la
:IBM on my Sun. Now *that* would be cool!
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Michael Hucka
Date: Fri, 30 May 1997 00:00
Date: Fri, 30 May 1997 00:00
91 lines
5709 bytes
5709 bytes
Many thanks to everyone who replied to my question about performance tuning
on our news server.
I have a new question: one thing that is often said to help performance on a
Solaris system is the "maxusers" kernel parameter. Bigger is supposed to be
better, and we currently have it set extremely high. But one thing I'm
wondering now is: is there a point after which a higher value is actually
detrimental to performance (say by taking away memory from other things that
might better use it)?
Here's what some of our parameters look like currently, from the output of
Michael Cooper's sysinfo utility:
General Information
Manufacturer (man) is Sun (Sun Microsystems)
System Model (model) is Ultra 2
Main Memory (memory) is 380 MB
Virtual Memory (virtmem) is 323 MB
ROM Version (romver) is OBP 3.1.2 1996/03/28 17:08
Number of CPUs (numcpu) is 2
CPU Type (cpu) is sparc
App Architecture (arch) is sparc
Kernel Architecture (karch) is sun4u
OS Name (osname) is SunOS
OS Version (osvers) is 5.5.1
Kernel Version (kernver) is SunOS Release 5.5.1 Version Generic_103640-06 [UNIX(R) System V Release 4.0]
Boot Time (boottime) is Fri May 9 17:46:40 1997
Kernel Information
Maximum number of processes for system (max_nprocs) is 6042
Maximum number of processes per user (maxuprc) is 6037
Maximum number of users (for system tables) (maxusers) is 377
Maximum number of BSD (/dev/ptyXX) pty's (npty) is 48
Maximum number of System V (/dev/pts/*) pty's (pt_cnt) is 48
Size of the virtual address cache (vac_size) is 16384
Size of the inode table (ufs_ninode) is 6499
Size of the directory name lookup cache (ncsize) is 6499
Size of the quotas table (ndquot) is 9812
STREAMS: Maximum number of pushes allowed (nstrpush) is 9
STREAMS: Maximum message size (strmsgsz) is 65536
STREAMS: Maximum size of ctl part of message (strctlsz) is 1024
Maximum memory allowed in buffer cache (bufhwm) is 0
Maximum global priority in sys class (maxclsyspri) is 6488124
Has UFS driver (ufs_vfsops) is TRUE
Has NFS driver (nfs_vfsops) is TRUE
Has LOFS driver (lo_vfsops) is TRUE
Has TMPFS driver (tmp_vfsops) is TRUE
Has SD driver (sdopen) is TRUE
Has FD driver (fdopen) is TRUE
Has NFSSERVER (nfs_getfh) is TRUE
SysConf Information
Max combined size of argv[] and envp[] is 1048320
Max processes allowed to any UID is 6037
Clock ticks per second is 100
Max simultaneous groups per user is 16
Max open files per process is 1024
System memory page size is 8192
Job control supported is TRUE
Savid ids (seteuid()) supported is TRUE
Version of POSIX.1 standard supported is 199506
Version of the X/Open standard supported is 3
Max log name is 8
Max password length is 8
Number of processors (CPUs) configured is 2
Number of processors (CPUs) online is 2
Total number of pages of physical memory is 49152
Number of pages of physical memory not currently in use is 751
Max number of timer expiration overruns is 2147483647
Max number of realtime signals is 8
Max number of queued signals per process is 32
Max number of timers per process is 32
Supports File Synchronization is TRUE
Supports memory mapped files is TRUE
Supports process memory locking is TRUE
Supports range memory locking is TRUE
Supports memory protection is TRUE
Supports realtime signals is TRUE
Supports syncronized I/O is TRUE
Supports timers is TRUE
--
Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University
PhD to be, computational models of human visual processing (AI Lab) of
UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Joe Greco
Date: Fri, 30 May 1997 00:00
Date: Fri, 30 May 1997 00:00
79 lines
4313 bytes
4313 bytes
In news.software.nntp article <338dc2c5.0@news3.ais.net>, rjoyner@ais.net wrote:
:> My whole news spool argument revolves around a concept of increasing
:> concurrency while simultaneously increasing the chance of locality of
:> reference benefits.
:
:Gosh Joe, sounds like you know the ins & outs of FFS like the back of
:your hand. That's scary. :)
Some of us were running INN, sucking down a full feed, on a Sun 3/60 as
recently as 1994-1995. I'm not a filesystem guru, but on the other hand,
I was forced to find new optimizations whereever I could... and then I
took a bunch of the legacy hardware from that machine (Wren-class drives,
mostly) and continued to work with it on a more recent platform.
But on the other hand, a lot of it is sort of common sense that comes
from lots of thinking about the interactions of all this stuff.
As a former boss of mine used to say, "we make up for a lot of sins
with speed". Today's hardware is very fast, and it's much easier to
ignore some problems because they don't seem as readily apparent as
they once were. It was much easier to tune - and see the results -
when slower hardware was the norm.
:> Hardware mirroring is fast. At least if done right, it should be a few
:> percent slower for writes (theoretically just as fast), and up to twice
:> as fast for reads (a bit less in practice). Software mirroring
:> {c,sh}ould be just about as fast too. That does not imply that ODS is.
:
:I think most folks agree that ODS is a pig. I've seen close to a 20%
:performance penalty by using it (over hardware RAID). My numbers off a
Eh? What are you smokin'? Only 20%? ( :-) )
:similar type IBM (RS/6k) machine were not near that bad. Having the LVM
:be an integral part of the kernel makes it a LOT speedier, plus IBM
:spent
:the effort to "get it right", IMHO. As for HP's version of a LVM, jury
:is
:still out on that (at least in this neck of the woods).
The problem is that, so often, these things are added as an afterthought
and they are layered on top of existing infrastructure. Even the "ccd"
driver I use is layered on top of other drivers. While it's nice to
be able to stack things, it also means multiple translations are going
on, at each layer, and that you are limited in what you can do, because
the lower drivers probably weren't designed with such stacking in mind.
I do think that a LVM style approach is much better... depending on
implementation, of course. But, once you start down that road, it
ultimately ends in an argument to do it in hardware. :-)
What I'd really like to see is highly intelligent I/O subsystems. Done
as close to the hardware as possible (or actually in hardware!). Some
contemporary RAID solutions are pretty much what I'm thinking of...
but their intelligence usually isn't particularly "high". For that
matter, it would probably be a good idea to build new filesystem formats
that could take advantage of modern performance features.
Eh, I guess I'm just unhappy that there haven't been any real
technological advances in this arena (aside from RAID) in years.
:> :> RAID5 for small transactions sucks. Of course, throw enough disks and
:> :> money at it, and it will perform reasonably well.
:> :
:> :That's the whole reason for write / read caching.
:>
:>
:> As I said, throw enough money at it, and it will perform reasonably well.
:
:Heh..True.. I guess if you *really* want to throw money at it, buy
:solid-
:state drives for your history, etc. :)
I'll take a few!
... JG
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Michael Hucka
Date: Sat, 31 May 1997 00:00
Date: Sat, 31 May 1997 00:00
18 lines
1396 bytes
1396 bytes
>>>>> On 31 May 1997, Casper.Dik@Holland.Sun.COM (Casper H.S. Dik) wrote: CHSD> You're thinking SunOS 4, not Solaris 2.x. CHSD> maxusers scales automatically depending on the amount of memorty you CHSD> have. Oh, you're right; I was more in the SunOS frame of mind. "Never mind". -- Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University PhD to be, computational models of human visual processing (AI Lab) of UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Casper H.S. Dik - Network Securi...
Date: Sat, 31 May 1997 00:00
Date: Sat, 31 May 1997 00:00
34 lines
2103 bytes
2103 bytes
Michael Hucka <hucka@eecs.umich.edu> writes: >Many thanks to everyone who replied to my question about performance tuning >on our news server. >I have a new question: one thing that is often said to help performance on a >Solaris system is the "maxusers" kernel parameter. Bigger is supposed to be >better, and we currently have it set extremely high. But one thing I'm >wondering now is: is there a point after which a higher value is actually >detrimental to performance (say by taking away memory from other things that >might better use it)? You're thinking SunOS 4, not Solaris 2.x. maxusers scales automatically depending on the amount of memorty you have. Maxusers scales a number of parameters, and defines the ceiling. It does pre-allocated some tables but not as many as in SuNOS 4.x where the teh kernel would preallocate the file and process table completetely. It's often wiser to scale the parameters derived from maxusers by hand. 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: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Kyle Robinson
Date: Thu, 05 Jun 1997 00:00
Date: Thu, 05 Jun 1997 00:00
46 lines
3066 bytes
3066 bytes
In article <5mhrbd$3hv$1@fes.whowhere.com>, Jerry Aguirre <jerry@rigel.whowhere.com> wrote: >Are you saying that if I made the stripe size equal to 12MB that >RAID would read/write that much every time? I am using that stripe >size and am very pleased with performance. I don't see how I could >handle a full feed if each article required that much IO. > >I am glad that your configuration with a small stripe size works for >you. However I would attribute your success more to the smarts of your >raid vendor's design than your choice of stripe size. > >I just did a reconfiguration from 16KB stripe size to 12MB but it was >not for a news spool. The disks went from being 90% busy to just 30% >busy. I'l second that smaller isn't always better. Stripe size, by itself, doesn't mean as much as when you optimize it for your given hardware. Currently, I'm running, I think, a stripe size of 1kb (default that I forgot to change. Oops). What I want to do (but not until I need to add a drive to my news spool) is change the stripe size to match the size of the cache on the drives, since they're all the same. This way, I can fill the cache on one drive, go to the next drive, fill the cache, go to the next drive, etc, etc. I'd assume that in that setup, you get the best optimization for overall drive speed, whether your onboard drive cache is 64k, 128k, 512k, or any other number. That way, you're making the most use out of your drives. All I know is that right now my drives are getting hammered, because basically each article has to be written seperately. Ouch! I'd like to have it write several at once. I've talked to one of the other guys here in my shop that's used the same configuration, but with a larger stripe. He observed a similar ammount of data traffic but with less drive activity. But, in the end, I don't know if a noticable improvement will be seen. Since I've got an identical scsi card just sitting around, I think I might have to throw it into a machine to do some testing with three or four 2gb drives... -Kyle -- ------------------------------------------------------------ greywolf@aracnet.com | http://www.aracnet.com/~greywolf/ aracnet.com staff | The opinions expressed here are my own Your mileage may vary ; void where prohibited by law
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Michael Hucka
Date: Thu, 05 Jun 1997 00:00
Date: Thu, 05 Jun 1997 00:00
30 lines
2108 bytes
2108 bytes
>>>>> On 27 May 1997, Michael Hucka <hucka@eecs.umich.edu> wrote: hucka> Can someone point me to web pages or other sources of information hucka> for how to go about tuning an Ultra-2 running Solaris 2.5.1 with a hucka> hardware RAID box (from MTI, RAID level 0, 8 x 4G disks, 64k stripe hucka> size)? We recently brought up this combination for our news server hucka> (INN 1.5.1, innfeed 0.10.1.4, gcc -O3), and quite to my hucka> astonishment, iostat and general server performance indicate that hucka> i/o performance is not blistering. In case anyone's interested on the progress on this item, and can perhaps make use of the information: I discovered at least one cause of the poor performance on this system. The /etc/system file had the following item in it, introduced some time ago by another administrator and not noticed until now: * This turns off command queuing (from the solaris-faqs). set scsi_options & ~0x80 This was really not needed for our disk hardware, and had the side-effect of degrading disk i/o performance. Removing this has resulted in a noticeable performance improvement. -- Mike Hucka hucka@umich.edu http://www.eecs.umich.edu/~hucka University PhD to be, computational models of human visual processing (AI Lab) of UNIX systems administrator & programmer/analyst (EECS DCO) Michigan
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Kyle Robinson
Date: Mon, 09 Jun 1997 00:00
Date: Mon, 09 Jun 1997 00:00
35 lines
2366 bytes
2366 bytes
In article <5nhh84$as5@mow.physik.uni-bremen.de>, Mark-Oliver Wolter <root@mow.physik.uni-bremen.de> wrote: >You forgot that it's not just the article data that's written - if you use >it like this, the writing of the inodes overflows your cache. Besides, some >drives use their cache as 50/50 read/write. Although recent drives don't do >that, I think staying, say, 20K below the cache size would be best. > >Besides, if you get lots of small articles it will hit you anyway - in that >case the limiter is the article size, not the cache size. Well, still, if the cache size on the drive is, say, 64k, then a 44k stripe would still, potentially, be more efficient than a stripe of 2k (at least it would be nicer to the drives, as they wouldn't be hit so much). It still seems that if lots of small articles (say 4k) come in, and the stripe size is at 44k (going with the above figure), that you could still fit 11 articles in before going to the next drive. If they all get put in the cache first, then I'd think that would be more efficient than each article getting written to the drives individually. Now, to throw in another factor, what about the cache on the scsi controller? I've currently got 16mb onboard, and am upgrading to 64mb as soon as the memory comes in. How's that cache going to fit in with the cache on individual drives? -Kyle -- ------------------------------------------------------------ greywolf@aracnet.com | http://www.aracnet.com/~greywolf/ aracnet.com staff | The opinions expressed here are my own Your mileage may vary ; void where prohibited by law
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: coneill
Date: Tue, 10 Jun 1997 00:00
Date: Tue, 10 Jun 1997 00:00
62 lines
4265 bytes
4265 bytes
jerry@rigel.whowhere.com (Jerry Aguirre) writes: > In article <5ni3qs$l22@shelob.aracnet.com>, > I think you will find that in most cases the OS will use the cache in > a "write thru" mode. That is the cache is only used for writes as a temporary > buffer between the OS and the physical disk. The reason is to keep the > disk consistant in case of a crash or power failure. If data were in the > drive or controller cache and power failed then that data is lost forever! > The OS and the user would think that the data was synced to disk but it > would not have been. Unfortunately, this doesn't allow those of us w/uninterruptible power, or who are willing to accept the risk the ability to optimize for speed. > Thus the cache in the controller and the drives offer no improvement for write > times. These caches can offer improvements in read access. But it has > generally been determined that controller caches are useless for Unix. > Unix could make better use of that RAM for its own cache than the disk > controller can. Only where the OS doesn't do proper caching is there an > advantage to having a large controller cache. My experience has the opposite, especially on news servers. Being able to hand off writes to the controller to complete, marking those pages as clean, sooner. It's also been my experience that hardware based caches typically do better write optimizations. IMHO, hardware caching (which is normally included w/hardware raid), is well worth the money. > > The cache on the drive can be an advantage in that it can do rotational > position sensing. Thus the drive might happen to settle on sector 5 when > you wanted to read sectors 2-7. The system would normally wait until sector > 2 rolled around and then start reading 2 thru 7. But the drive could cache > sectors 5-7, wait for 2-4 and then provide all the data a little quicker. My experience has been that the caches on the drives are typically too small to make any appreciable difference. > > Besides, when are you going to be writing more than 16K at a shot? The > average article size is less than 3KB! By using a small stripe value you > are tuning your system to handle alt.binary articles efficiently at the > expense of all others. My average article size is closer to 8k than 3k, and my average article requested is closer to 64k. That being said, I agree with the large stripe size argument. I do have some antecdotal evidence that it doesn't really make much of a difference though. To satisify Sun's service departments curiousity, I recently set up a mirrored 60gb array for /var/spool/news. The nifty thing about this is that one half of it had the stripe size set to 4mb, which was the cylinder group size. The other half had it set to 128kb. I monitored it like this for about 15 minutes with about 700 readers. I watched the individual drives w/iostat -x 15, and surprisingly the two sub-mirrors had very little difference in activity, one being slightly favored one way or another or not at all. Based on that I used 128kb stripe on the Veritas install I did immediately following the test[1] 1. We switched to Veritas after fighting with Sun over a performance problem w/them for a week. Basically iostat -x w/SDS 4.1 was showing the meta-devices were 100% busy when the the individual drives were 15-20% busy. Weird, but Veritas seems to be working much better, and I'm overall, _very_ impressed with it.
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Jerry Aguirre
Date: Tue, 10 Jun 1997 00:00
Date: Tue, 10 Jun 1997 00:00
48 lines
3252 bytes
3252 bytes
In article <5ni3qs$l22@shelob.aracnet.com>, Kyle Robinson <greywolf@aracnet.com> wrote: >Well, still, if the cache size on the drive is, say, 64k, then a 44k stripe >would still, potentially, be more efficient than a stripe of 2k (at least it >would be nicer to the drives, as they wouldn't be hit so much). > >It still seems that if lots of small articles (say 4k) come in, and the >stripe size is at 44k (going with the above figure), that you could still >fit 11 articles in before going to the next drive. If they all get put in >the cache first, then I'd think that would be more efficient than each >article getting written to the drives individually. > >Now, to throw in another factor, what about the cache on the scsi >controller? I've currently got 16mb onboard, and am upgrading to 64mb as >soon as the memory comes in. How's that cache going to fit in with the >cache on individual drives? All those caches sound great but you will find that they don't interface well with a sophisticated OS. I think you will find that in most cases the OS will use the cache in a "write thru" mode. That is the cache is only used for writes as a temporary buffer between the OS and the physical disk. The reason is to keep the disk consistant in case of a crash or power failure. If data were in the drive or controller cache and power failed then that data is lost forever! The OS and the user would think that the data was synced to disk but it would not have been. Thus the cache in the controller and the drives offer no improvement for write times. These caches can offer improvements in read access. But it has generally been determined that controller caches are useless for Unix. Unix could make better use of that RAM for its own cache than the disk controller can. Only where the OS doesn't do proper caching is there an advantage to having a large controller cache. The cache on the drive can be an advantage in that it can do rotational position sensing. Thus the drive might happen to settle on sector 5 when you wanted to read sectors 2-7. The system would normally wait until sector 2 rolled around and then start reading 2 thru 7. But the drive could cache sectors 5-7, wait for 2-4 and then provide all the data a little quicker. Besides, when are you going to be writing more than 16K at a shot? The average article size is less than 3KB! By using a small stripe value you are tuning your system to handle alt.binary articles efficiently at the expense of all others.
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Kyle Robinson
Date: Tue, 10 Jun 1997 00:00
Date: Tue, 10 Jun 1997 00:00
57 lines
3390 bytes
3390 bytes
Jerry Aguirre wrote: > All those caches sound great but you will find that they don't > interface well with a sophisticated OS. Could be. The OS (if you really want to call it that) that I've seen to benefit from increasing the cache would be Netware. NT, when I had it on this machine, also greatly benefited from a larger cache size. But I'm running Solaris x86 right now. > I think you will find that in most cases the OS will use the cache in > a "write thru" mode. That is the cache is only used for writes as a temporary > buffer between the OS and the physical disk. The reason is to keep the > disk consistant in case of a crash or power failure. If data were in the > drive or controller cache and power failed then that data is lost forever! > The OS and the user would think that the data was synced to disk but it > would not have been. True, if the machine loses power, the data in all the ram would be lost, but in my case, I've got a real tank for a news host. Redundant power supplies being fed from two separate circuits, with one power supply on a direct line and one going through a ups. But yes, I do see your point. > The cache on the drive can be an advantage in that it can do rotational > position sensing. Thus the drive might happen to settle on sector 5 when > you wanted to read sectors 2-7. The system would normally wait until sector > 2 rolled around and then start reading 2 thru 7. But the drive could cache > sectors 5-7, wait for 2-4 and then provide all the data a little quicker. Not only is the machine a feeder, but it's a reader as well. With the increased controller cache, the reads should then be a bit faster, if not the writes. That's a good enough reason for me to increase the controller cache, especially since, in the past, my news server wasn't doing a great job, and I need the customers to see that its access is faster, better, and smoother than it was before... =:-) > Besides, when are you going to be writing more than 16K at a shot? The > average article size is less than 3KB! By using a small stripe value you > are tuning your system to handle alt.binary articles efficiently at the > expense of all others. The wording here threw me off a bit. Are you saying that a smaller or bigger stripe size would be better? I don't care about speeding access to the alt.binary groups, per se, but want to find the best overall access times with the least amount of punishment on the drives (doesn't everyone?). I'm guessing that you are saying a slightly larger stripe size would be beneficial overall, here. -Kyle
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: John Henders
Date: Wed, 11 Jun 1997 00:00
Date: Wed, 11 Jun 1997 00:00
25 lines
1763 bytes
1763 bytes
In <5mpvr5$hmc$13@darla.visi.com> drechsau@nospam.visi.com (Mike Horwath) writes:
>In your /etc/system file, you might wanna change the values since news
>thrashes your DNLC and having a larger inode table doesn't hurt.
>set ufs_ninode=10240
>set ncsize=10240
>This is what I use and I have DNLC hit rates > 90%, which is better
>than when I had it at default (my numbers were lower than yours - I
>don't have 380MB of RAM like you :).
How high can you safely go with this with Solaris 2.5? I upped mine to
20000 and I'm still seeing a need for more. I read an old message that
said that some versions of Solaris would start leaking in the inode
cache if it was configured too high. Is that fixed in 2.5?
--
Artificial Intelligence stands no chance against Natural Stupidity.
GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Jeff Tham
Date: Fri, 13 Jun 1997 00:00
Date: Fri, 13 Jun 1997 00:00
44 lines
2230 bytes
2230 bytes
I have a Pentium running x86 Solaris 2.5. When I configure for PPP to
my ISP, "cu -d -L my_ppp_name" dialed and connected to my ISP.
However, when I do "asppp start", the /etc/log/asppp.log showed that the
modem timeout as the following:
--------------------------------------------------------------------
22:30:43 parse_config_file: Successful configuration
22:31:02 process_ipd_msg: ipdptp0 needs connection
conn(pppv)
Trying entry from '/etc/uucp/Systems' - device type ACU.
Device Type ACU wanted
Trying device entry 'cua/b' from '/etc/uucp/Devices'.
processdev: calling setdevcfg(ppp, ACU)
fd_mklock: ok
fixline(8, 38400)
gdial(usr288) called
Trying caller script 'usr288' from '/etc/uucp/Dialers'.
expect: ("")
got it
sendthem (DELAY
APAUSE
TE1V1X1Q0S2=255S12=255&A0&H1&M0&B0^M<NO CR>)
expect: (OK^M)
ATE1V1X1Q0S2=255S12=255&A0&H1&M0&B0^Mtimed out
CHAT gdial(usr288) FAILED
set interface UNIX
getto ret -1
Call Failed: CALLER SCRIPT FAILED
22:31:54 Link manager (507) exited 06/12/97
--------------------------------------------------------------------------
Also, my dialing string in /etc/Dialers is as the following:
usr288 =,-, "" \dA\pTE1V1X1Q0S2=255S12=255&A0&H1&M0&B0\r\c OK\r
\EATDT\T\r\c CONNECT STTY=crtscts,crtsxoff
If it is possible, please also email me at jefftham@vividnet.com.
Thanks in advance.
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: jeff.garzik
Date: Sat, 14 Jun 1997 00:00
Date: Sat, 14 Jun 1997 00:00
20 lines
1752 bytes
1752 bytes
greywolf@aracnet.com (Kyle Robinson) wrote:
> It still seems that if lots of small articles (say 4k) come in, and the
> stripe size is at 44k (going with the above figure), that you could still
> fit 11 articles in before going to the next drive. If they all get put in
> the cache first, then I'd think that would be more efficient than each
> article getting written to the drives individually.
This (and others) are oversimplifying the striping size problem. To
accurately calculate an optimum stripe size, you need to take into
account the filesystem metadata that must read for each read, written for
each write.
Jeff
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Heiko W.Rupp
Date: Sun, 15 Jun 1997 00:00
Date: Sun, 15 Jun 1997 00:00
18 lines
1293 bytes
1293 bytes
In article <5mhrbd$3hv$1@fes.whowhere.com>, >Jerry Aguirre <jerry@rigel.whowhere.com> wrote: >>I just did a reconfiguration from 16KB stripe size to 12MB but it was >>not for a news spool. The disks went from being 90% busy to just 30% >>busy. Does anybody know, If I can reconfigure with ODS 4.0 without having to newfs the area? -- Heiko W.Rupp Gerwigstr.5 D-76131 Karlsruhe +49 721 9661524 "Das schnellere Euro-ISDN-Protokoll (64000 Bits/s) wird vom Internet nicht geboten." -- Stiftung Warentest, 9/96, Seite 31
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Joe Greco
Date: Sat, 21 Jun 1997 00:00
Date: Sat, 21 Jun 1997 00:00
19 lines
1354 bytes
1354 bytes
In news.software.nntp article <5o1jhn$9il$1@snert.pilhuhn.de>, hwr@pilhuhn.de wrote: :In article <5mhrbd$3hv$1@fes.whowhere.com>, :>Jerry Aguirre <jerry@rigel.whowhere.com> wrote: : :>>I just did a reconfiguration from 16KB stripe size to 12MB but it was :>>not for a news spool. The disks went from being 90% busy to just 30% :>>busy. : :Does anybody know, If I can reconfigure with ODS 4.0 without having to :newfs the area? You may add more to the end. Sun assures me that doing so does not interfere with the filesystem's efficiency, although that goes against everything I know about FFS. ... JG
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Heiko W.Rupp
Date: Sun, 22 Jun 1997 00:00
Date: Sun, 22 Jun 1997 00:00
19 lines
1238 bytes
1238 bytes
In <5ohfq4$hr8$1@earth.execpc.com>, Joe Greco wrote:
|You may add more to the end. Sun assures me that doing so does not
Yep.
|interfere with the filesystem's efficiency, although that goes against
|everything I know about FFS.
:)
But - may I go from x KB stripes e.g. to x MB stripes without newfs()ing?
--
Heiko W.Rupp hwr@pilhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
It is also posted regularly to news.software.{b,nntp} and news.answers.
Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Author: Joe Greco
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
42 lines
2243 bytes
2243 bytes
In news.software.nntp article <5ojgo6$ljf$1@snert.pilhuhn.de>, hwr@pilhuhn.de wrote: :In <5ohfq4$hr8$1@earth.execpc.com>, Joe Greco wrote: :|You may add more to the end. Sun assures me that doing so does not : :Yep. : :|interfere with the filesystem's efficiency, although that goes against :|everything I know about FFS. : ::) : :But - may I go from x KB stripes e.g. to x MB stripes without newfs()ing? No. Well, you might be able to do it like this, assuming the metadevice does not change size on you. I'm not too sure if Solaris will round the size of a device down to the nearest stripe size increment or not, and if it does, you may be a bit screwed if your new metadevice is smaller than the old.. but fortunately I don't keep many machines around that run Solstice DiskSuite. 1) Take your metadevice (i.e. /dev/md/rdsk/dX) and dd it somewhere (tape, other disk, whatever). 2) Disassemble the metadevice (metaclear dX). Rebuild the metadevice the way you wanted it (metablablabla). 3) Use dd to recreate the metadevice from your other medium. I don't see any reason this would not work, aside from the potential shrinking-metadevice problem. If you were to increase the size of the fs at the same time, you should NOT have any problems, and then when done, you just growfs the metadevice, and voila. Warning: I provide no promises or guarantees as to the success or failure of this adventure. It's your neck on the line, not mine. :-) ... JG
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