* News, AdvFS, life, the universe, and everything....
@ 1995-07-27 4:00 Huw Davies
1995-07-28 4:00 ` John Stoffel
1995-07-28 4:00 ` Toivo Pedaste
0 siblings, 2 replies; 3+ messages in thread
From: Huw Davies @ 1995-07-27 4:00 UTC (permalink / raw)
We are currently using c-news and an AdvFS volume set comprising
two seagate IX (9Gb) disks to store the news database on.
We have been using AdvFS for about 12 months (although there are problems
with it, I like the fact that I can reboot our news server system in less
than 5 minutes after a power failure. The thought of waiting for fsck to
grind through 6Gb of news leaves me cold) and once we overcame the problems
with insufficient metadata (hopefully fixed with the latest version of
AdvFS) we've been relatively happy.
The problem we are seeing now is long delays, especially when posting news
items - it can sometimes take more than 20 minutes (yes 20 minutes) to
post an article. Even my users are starting to complain...
I've looked at the news server system (3000 300LX with 64Mb of memory)
and it's not a CPU bottleneck (typically 5-10% busy, the rest idle).
vmstat indicates that we are averaging about 20 page faults/sec. I have
ordered an additional 64Mb of memory but I don't think that this is the
root cause of the problem.
I am considering several options:
1) Upgrade to INN (this is the real reason for buying additional memory)
2) Convert back to UFS (assuming I can be convinced that the performance
problem is totally caused by AdvFS and that the other users of our
news server - mainly networking/e-mail will be happy to wait 30 odd
minutes after a power fail).
3) Improve the performance of the file system. One possibility would be
to shadow the AdvFS across two disks - has anyone any experience on
how to do this (if it's possible) and if so, did things improve?
4) What ever the general consensus of the net is (as long as I can be
convinced that this will be an improvement).
5) Take up some new occupation (crash test dummy perhaps?)
--
Huw Davies | e-mail: Huw.Davies@latrobe.edu.au
Information Technology Services | Phone: +61 3 9479 1550 Fax: +61 3 9479 1999
La Trobe University | "My Alfa keeps me poor in a monetary
Melbourne Australia 3083 | sense, but rich in so many other ways"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: News, AdvFS, life, the universe, and everything....
1995-07-27 4:00 News, AdvFS, life, the universe, and everything Huw Davies
@ 1995-07-28 4:00 ` John Stoffel
1995-07-28 4:00 ` Toivo Pedaste
1 sibling, 0 replies; 3+ messages in thread
From: John Stoffel @ 1995-07-28 4:00 UTC (permalink / raw)
>>>>> "Huw" == Huw Davies <cchd@lucifer.latrobe.edu.au> 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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: News, AdvFS, life, the universe, and everything....
1995-07-27 4:00 News, AdvFS, life, the universe, and everything Huw Davies
1995-07-28 4:00 ` John Stoffel
@ 1995-07-28 4:00 ` Toivo Pedaste
1 sibling, 0 replies; 3+ messages in thread
From: Toivo Pedaste @ 1995-07-28 4:00 UTC (permalink / raw)
I tried converting my very heavily used news disks from UFS to
ADFS but I had performance problems so converted them back.
The reason I tried ADFS was that file creation and deletions was
supposed to be faster but I found that the daily expire still
hadn't finished after 12 hours and was only going at the rate
of about 1 file a second. This was under OSF3.2
My guess would be that the heavy level of random read access's are
spoiling the efficiency of the log structured file system.
--
------------------------------------------------------------------
Toivo Pedaste Email: toivo@ucs.uwa.edu.au
University Computing Services, Phone: +61 9 380 2605
University of Western Australia Fax: +61 9 380 1380
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-07-28 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-27 4:00 News, AdvFS, life, the universe, and everything Huw Davies
1995-07-28 4:00 ` John Stoffel
1995-07-28 4:00 ` Toivo Pedaste
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox