Thread View: news.software.nntp
9 messages
9 total messages
Started by Dominic Malvo
Sat, 08 Nov 1997 00:00
Loss of Disk Perf. w/ DiskSuite after adding drives
Author: Dominic Malvo
Date: Sat, 08 Nov 1997 00:00
Date: Sat, 08 Nov 1997 00:00
25 lines
1670 bytes
1670 bytes
I had a spool of around 16 gigs (4 * 4gb) with an average load of about 1.3. After adding 3 more 4gb drives to the md and using growfs, my load now averages about twice what it was, and tends to soar to around 5 and 6 at times. I'm using 2 scsi controllers ( one with 4 spool drives and the other with 3 spool and the overview drive) for the spool, and another scsi controller has the drive with the history file. My avg. artwrite before adding these drives was around 90... now its up to 125 ms. I'm considering moving the overview drive to a different controller and trying tunefs and see if that will make a difference. The machine this is running on is an Ultra-1, 167mhz Ultrasparc, with Solaris 2.5.1 and 384 mb of ram. I'm using innd-1.7.insync and innfeed. I'm receiving around 5 gigs a day with 4 sites that I trade feeds with and roughly 40 concurrent users at a time. Would having the overview and history drive on the same controller perhaps be too many io requests for one controller? I am VERY open to any suggestions that any of you have :) Thanks, Dominic Malvo ioNET News Admin
Re: Loss of Disk Perf. w/ DiskSuite after adding drives
Author: Hans J Jakobsen
Date: Sat, 08 Nov 1997 00:00
Date: Sat, 08 Nov 1997 00:00
22 lines
1412 bytes
1412 bytes
dpmalvo@ionet.net (Dominic Malvo) writes: > > I had a spool of around 16 gigs (4 * 4gb) with an average load of >about 1.3. After adding 3 more 4gb drives to the md and using growfs, >my load now averages about twice what it was, and tends to soar to >around 5 and 6 at times. I'm using 2 scsi controllers ( one with 4 Have you tried an "iostat -xc 10" I wouldnt be supriced if there were a uneven use of disks. >now its up to 125 ms. I'm considering moving the overview drive to a >different controller and trying tunefs and see if that will make a I don't think controller is the problem. -- Tele Danmark Erhverv, Data Divisionen TLF: +45 8947 3339 Hans J Jakobsen FAX: +45 8947 3308 Skanderborgvej 234 st tv DK 8620 Viby J Danmark Internet:hjj@datacom.dk400.dk
Re: Loss of Disk Perf. w/ DiskSuite after adding drives
Author: Mark Hittinger
Date: Sun, 09 Nov 1997 00:00
Date: Sun, 09 Nov 1997 00:00
28 lines
1717 bytes
1717 bytes
per@erix.ericsson.se (Per Hedeland) writes: >Um, he didn't say that he *was* striping in the first place... He may have added the two new drives to the same controller that happens to have the logging disk attached to it. This would place additional burdens on that controller (since the rest of the disks are probably close to full). The original 90ms ARTwrite() time is implying that something was wrong with the prior configuration. I'd expect to see something between 40ms and 50ms with his setup. It smells like the logging issue to me. *IF* logging is on try disabling it. When we were experimenting with ODS for news spools we got a significant performance boost by doing that. It still didn't get us to the performance of the Veritas spools and there was painfull evidence that ODS mirroring didn't work. News servers with logging enabled on their ODS spools could not keep up with a full newsfeed when it was 4 gig per day :-) Regards, Mark Hittinger Netcom/Dallas bugs@freebsd.netcom.com
Re: Loss of Disk Perf. w/ DiskSuite after adding drives
Author: Ragnar Lonn
Date: Sun, 09 Nov 1997 00:00
Date: Sun, 09 Nov 1997 00:00
35 lines
1703 bytes
1703 bytes
In article <jwd9.2$FN2.14891@pooh.visi.com>, drechsau@yuck.net (Mike Horwath) wrote: >Best thing to do if you are using ODS - delete the current meta device >completely from the system and build your new striped device with the >7 hard drives on the new controllers. > Agreed. >Why? > >By 'adding' those 3 hard drives and then doing growfs, you have >created at least 2 seperate stripes and then concatenated them >together losing most of the performance you had gained by striping in >the first plce. > But this is strange. Why would he lose performance? Performance should be as good (or bad) as it was before he added the drives. I'd have thought it would actually be somewhat better as reads and writes do get distributed among more physical disks with two concatenated stripes than with a single stripe, even though load may not be evenly distributed on all the disks as data on one of the stripes may be more heavily utilized. >Stripe the 7 drives together in a new config, newfs, and start your >spool fresh. > Yeah, I'm also sure that's the only thing to do. /Ragnar
Re: Loss of Disk Perf. w/ DiskSuite after adding drives
Author: Ragnar Lonn
Date: Sun, 09 Nov 1997 00:00
Date: Sun, 09 Nov 1997 00:00
36 lines
2334 bytes
2334 bytes
In article <644amc$cej$1@news.du.etx.ericsson.se>, per@erix.ericsson.se (Per Hedeland) wrote: >On a news spool? With the commonly-accepted-as-optimal large stripe of a >cylinder or cylinder group? Under equivalent conditions? The point is >that there is no obvious reason that striping is significantly superior >to concatenation (or to a combination) once you have reached a "steady >state" with the file system mostly filled, as you're not attempting to >stripe individual files (quite the opposite), just distribute individual >file accesses over the drives. > That's also interesting. How does a concatenated filesystem work, really? It starts by filling up disk #1, no? Then goes on to disk #2 and so on. When expire takes place, wouldn't this mean that most of the article expiration takes place on a single disk, more or less? But maybe it evens out in the long run? Also, how will e.g. overview files get distributed physically when you keep them on the spool filesystem and use concatenation? >Yes, this will give a vast performance improvement - but I'd say it's >almost entirely due to "starting fresh" - lots of space for the ffs to >do optimal allocation, small directories, etc. To get truly relevant Directory sizes can have a major impact on performance. It pays off to watch the size of your control.cancel dir and make sure it doesn't grow completely out of bounds. Also article-intensive groups like 'jobs' groups could be worth looking at. Cancel messages arrive all the time and if your $SPOOL/control/cancel dir is huge, your server will spend a smaller eternity doing nothing else every time it has to update or just access the dir. /Ragnar
Re: Loss of Disk Perf. w/ DiskSuite after adding drives
Author: Per Hedeland
Date: Sun, 09 Nov 1997 00:00
Date: Sun, 09 Nov 1997 00:00
40 lines
2360 bytes
2360 bytes
In article <jwd9.2$FN2.14891@pooh.visi.com> drechsau@yuck.net (Mike Horwath) writes: >By 'adding' those 3 hard drives and then doing growfs, you have >created at least 2 seperate stripes and then concatenated them >together losing most of the performance you had gained by striping in >the first plce. Um, he didn't say that he *was* striping in the first place... >I got bit by this once long ago and it sucked, I am sorry to see that >you have now been bitten as well. On a news spool? With the commonly-accepted-as-optimal large stripe of a cylinder or cylinder group? Under equivalent conditions? The point is that there is no obvious reason that striping is significantly superior to concatenation (or to a combination) once you have reached a "steady state" with the file system mostly filled, as you're not attempting to stripe individual files (quite the opposite), just distribute individual file accesses over the drives. When you're starting afresh, striping is certainly better, as load will spread more evenly over the disks from the start - but it isn't necessarily worth the inconvenience of wiping the spool to get a single stripe when you add disks. >Stripe the 7 drives together in a new config, newfs, and start your >spool fresh. Yes, this will give a vast performance improvement - but I'd say it's almost entirely due to "starting fresh" - lots of space for the ffs to do optimal allocation, small directories, etc. To get truly relevant comparisons, you need to run each configuration for a significant amount of time first - and your users may not appreciate having the spool wiped out every now and then.:-) --Per Hedeland per@erix.ericsson.se
Re: Loss of Disk Perf. w/ DiskSuite after adding drives
Author: Ragnar Lonn
Date: Sun, 09 Nov 1997 00:00
Date: Sun, 09 Nov 1997 00:00
42 lines
2518 bytes
2518 bytes
In article <642i6e$6ar$1@ionews.ionet.net>, dpmalvo@ionet.net wrote: > > I had a spool of around 16 gigs (4 * 4gb) with an average load of >about 1.3. After adding 3 more 4gb drives to the md and using growfs, Can you use 'growfs' on a RAID-0 stripe with Solstice Disksuite? Or do you now have a concat file system made up from two underlying stripes? I'd reinitialize the metadevice if I were you. Tell your users that the spool will be wiped out at a certain date and time and when you do it, save the active file so article numbering won't be lost. Put history and logs on its own disk/s. Not sure if overview really needs to be separated. I keep it on the same filesystem as the articles. >time. Would having the overview and history drive on the same >controller perhaps be too many io requests for one controller? I am >VERY open to any suggestions that any of you have :) > It certainly wouldn't. Do you have two extra SCSI-controllers or are you including the built-in controller? If you have two extra controllers, I'd recommend putting 3 x 4GB disks on each, stripe the 6 drives to a single RAID-0 metadevice and use it for article spool and overview files. Then put what remaining drives you have on the internal SCSI controller of the Sun, stripe these drives too, if you have more than one, or if you're concerned with data security you can use mirroring, and put history and logs on it/them. We had a Sparc 20/712 machine running as newsserver earlier with a config close to this and it handled up to 400 concurrent users before it started to show sluggish response times. It ran Solaris 2.5 + INN 1.4unoff4 and had 512MB memory. Your machine ought to handle at least 200 users fairly comfortably (but it depends on how much you're feeding to your newspeers also. If you feed a lot of stuff you should consider setting up another machine as a dedicated feeder). /Ragnar, Algonet/TNI
Re: Loss of Disk Perf. w/ DiskSuite after adding drives
Author: Dominic Malvo
Date: Tue, 11 Nov 1997 00:00
Date: Tue, 11 Nov 1997 00:00
41 lines
2027 bytes
2027 bytes
Sigh, I'm going to go ahead and wipe the spool on the next scheduled
downtime and start afresh. I tuned some kernel parameters which
helped some but not enough.
Thanks everyone for responding,
Dominic
dpmalvo@ionet.net (Dominic Malvo) wrote:
>
> I had a spool of around 16 gigs (4 * 4gb) with an average load of
>about 1.3. After adding 3 more 4gb drives to the md and using growfs,
>my load now averages about twice what it was, and tends to soar to
>around 5 and 6 at times. I'm using 2 scsi controllers ( one with 4
>spool drives and the other with 3 spool and the overview drive) for
>the spool, and another scsi controller has the drive with the history
>file. My avg. artwrite before adding these drives was around 90...
>now its up to 125 ms. I'm considering moving the overview drive to a
>different controller and trying tunefs and see if that will make a
>difference. The machine this is running on is an Ultra-1, 167mhz
>Ultrasparc, with Solaris 2.5.1 and 384 mb of ram. I'm using
>innd-1.7.insync and innfeed. I'm receiving around 5 gigs a day with 4
>sites that I trade feeds with and roughly 40 concurrent users at a
>time. Would having the overview and history drive on the same
>controller perhaps be too many io requests for one controller? I am
>VERY open to any suggestions that any of you have :)
> Thanks,
> Dominic Malvo
> ioNET News Admin
Re: Loss of Disk Perf. w/ DiskSuite after adding drives
Author: SysAdmin
Date: Wed, 12 Nov 1997 00:00
Date: Wed, 12 Nov 1997 00:00
66 lines
3682 bytes
3682 bytes
Dominic Malvo wrote: > Sigh, I'm going to go ahead and wipe the spool on the next scheduled > downtime and start afresh. I tuned some kernel parameters which > helped some but not enough. > Thanks everyone for responding, > Dominic > dpmalvo@ionet.net (Dominic Malvo) wrote: > > I had a spool of around 16 gigs (4 * 4gb) with an average load of > >about 1.3. After adding 3 more 4gb drives to the md and using growfs, > >my load now averages about twice what it was, and tends to soar to > >around 5 and 6 at times. I'm using 2 scsi controllers ( one with 4 > >spool drives and the other with 3 spool and the overview drive) for > >the spool, and another scsi controller has the drive with the history > >file. My avg. artwrite before adding these drives was around 90... > >now its up to 125 ms. I'm considering moving the overview drive to a > >different controller and trying tunefs and see if that will make a > >difference. The machine this is running on is an Ultra-1, 167mhz > >Ultrasparc, with Solaris 2.5.1 and 384 mb of ram. I'm using > >innd-1.7.insync and innfeed. I'm receiving around 5 gigs a day with 4 > >sites that I trade feeds with and roughly 40 concurrent users at a > >time. Would having the overview and history drive on the same > >controller perhaps be too many io requests for one controller? I am > >VERY open to any suggestions that any of you have :) I know I'm jumping in a bit late here but since I haven't really seen anyone nail the problem on the head I thought maybe my comments would be welcome. If you think about how the metadevice is created in the first place then the reported result explicable. Online disk suite stripes drives by taking the first drive you give it and numbering the sectors. It numbers sectors on the first disk until it has filled the first stripe (you gave it a stripe size argument) and then jumps to the next disk and continues. When that stripe is full it skips again and continues on that way until all sectors on all drives are numbered (here's the reason for using only equal sized drives or wasting space on the largest ones). This means that your N disks have their sectors numbered in discontinuous groups. Now, when you add another disk with growfs, it certainly can't go back and renumber all the exisiting sectors in the existing stripes. That would be file system suicide. So it tacks all the new sectors onto the end of the striped ones. I'm not sure if it is smart enough to stripe two or more new disks or if each disk is simply appended but whichever happens, the new sectors will not be accessed as efficiently as the existing ones. This is why growfs on striped metadevices is not recommended. -- ########################################### ## ## ## Reply to user fg at domain portal.com ## ## ## ###########################################
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