From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6e1e5a800de3ca5e X-Google-Attributes: gidfee84,public From: john@avante.WPI.EDU (John Stoffel) Subject: Re: News, AdvFS, life, the universe, and everything.... Date: 1995/07/28 Message-ID: #1/1 X-Deja-AN: 107033278 references: <1995Jul27.022823.4677@lugb.latrobe.edu.au> organization: Worcester Polytechnic Institute 02: 28:23 GMT newsgroups: comp.unix.osf.osf1 >>>>> "Huw" == Huw Davies writes: In article <1995Jul27.022823.4677@lugb.latrobe.edu.au> cchd@lucifer.latrobe.edu.au (Huw Davies) writes: Huw> We have been using AdvFS for about 12 months (although there are Huw> problems with it, I like the fact that I can reboot our news Huw> server system in less than 5 minutes after a power failure. The Huw> thought of waiting for fsck to grind through 6Gb of news leaves Huw> me cold) and once we overcame the problems with insufficient Huw> metadata (hopefully fixed with the latest version of AdvFS) we've Huw> been relatively happy. The fast reboot is why we've moved all our user homes to an Alpha with Advfs. Going from 50 minutes fsck's to 5 minute reboots is something to cherish! We're running 3.2B on a 2100 right now and we're pretty happy. Huw> The problem we are seeing now is long delays, especially when Huw> posting news items - it can sometimes take more than 20 minutes Huw> (yes 20 minutes) to post an article. Even my users are starting Huw> to complain... Huw> I've looked at the news server system (3000 300LX with 64Mb of Huw> memory) and it's not a CPU bottleneck (typically 5-10% busy, the Huw> rest idle). vmstat indicates that we are averaging about 20 page Huw> faults/sec. I have ordered an additional 64Mb of memory but I Huw> don't think that this is the root cause of the problem. Hmm.. before you start looking for solutions, I think you need to nail down where the bottleneck is happening. From the sounds of it, your users are on remote machines and not actually posting news from this server. Is there a network bottleneck out there? How long does it take to create a few small files in the new partition area? If it takes a long time, then what you might want to use is the 'defragment' command from the Advfs Utilities to see how fragmented your disks are. If they are really fragmented (say under 70%), then you should run defragment on the disk for three or four hours. I have a cron job that runs once a week to defragment our homedirectory domains. When the system starts to get busy, I have to run it more often to keep up performance. For another tool to examine your system, you should look at 'monitor' from gatekeeper.dec.com, which is great for getting an overall feel for what the system is doing. Then switching to 'top' for a process look is good too. Huw> 1) Upgrade to INN (this is the real reason for buying additional Huw> memory) More memory should help no matter what. Huw> 2) Convert back to UFS (assuming I can be convinced that the Huw> performance problem is totally caused by AdvFS and that the Huw> other users of our news server - mainly networking/e-mail will Huw> be happy to wait 30 odd minutes after a power fail). Yuck. I wouldn't make the move myself, it's not worth the pain of reboots. Huw> 3) Improve the performance of the file system. One possibility Huw> would be to shadow the AdvFS across two disks - has anyone any Huw> experience on how to do this (if it's possible) and if so, did Huw> things improve? I don't think that shadowing the disks will help all that much. What you can try to do is tune Advfs parameters with the 'sysconfig' command. I've set 'AdvfsCacheMaxPercent' to 30 on our server. Seems to help. Hope this helps. John John F. Stoffel - john@wpi.edu - 508-831-5512 - FL 111F Workstation Specialist - Worcester Polytechnic Institute College Computer Ctr. Kill your television