From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10e254,10cbcc4460264454,start X-Google-Attributes: gid10e254,public X-Google-Thread: fee84,10cbcc4460264454,start X-Google-Attributes: gidfee84,public From: Frank Durda IV Subject: Are you an ISP running DEC OSF4 and using UFS filesystems? Date: 1998/08/11 Message-ID: <04A05125D33AD41E.88C584AC0F0BC71A.644A0E8A27AF759E@library-proxy.airnews.net>#1/1 X-Deja-AN: 380153939 Content-Transfer-Encoding: 7bit X-Orig-Message-ID: <35D09FC4.1CFBAE39@nemesis.lonestar.org> Content-Type: text/plain; charset=us-ascii NNTP-Posting-Time: Tue Aug 11 14:47:58 1998 Organization: Airnews.net! at Internet America NNTP-Proxy-Relay: library.airnews.net Mime-Version: 1.0 Abuse-Reports-To: abuse at airmail.net to report improper postings Newsgroups: comp.unix.osf.osf1,news.software.nntp According to representatives of DEC/Compaq, who have been trying to avoid fixing some performance problems in their disk strategy code (affects UFS local, local being local or on a HSZ system and remote UFS filesystems accessed via NFS), most ISPs running DEC OSF are using AdvFS and we should be using Advfs instead of UFS for all of our filesystems, and in particular, our news spools and root filesystems. Based on written statements they sent us, essentially nobody (at least in DEC/Compaqs opinion) still uses UFS, so they don't see any urgent (now 18 months on this ticket) reason to address these problems, and are talking about another six months (after Steele, aka OSF 5) before even thinking about looking at scheduling work on possibly addressing it. Obviously, we aren't too happy about that, and are thumbing through those Sun catalogs we get in the mail. In a nutshell, the bug is some code that DEC deleted from the standard UNIX disk strategy functions so that when UBC is completely filled with dirty buffers, and the system finally starts writing them out, no new reads are allowed from any block until every single one of those buffers are written, causing the system to stall. All disk I/O requests are now essentially a simple FIFO, no read prioritization, no block-rewrite consolidation, no elevator sorting. The more main memory, the longer the stall becomes, and in our 512Meg and 1GB systems, other apps can hang for as long as two minutes, while the CPUs are essentially 100% idle. When eventyally the UBC is completely written, other processes wake up and things move along until the busy application manages to fill UBC and the pausing cycle repeats. Even for something as small as a 4Meg passwd file, mkpasswd can bring a three processor 4/275MHz 1GB main memory Alpha system to a screaming halt every minute or so for the five to ten minutes mkpasswd ends up taking to run. The old UUCP pathalias can also make this monster of a computer unusable for everybody else for an even longer period of time (more data). This was also demonstrated to DEC as a Denial-of-Service attack an unpriviledged shell user could launch against the system. That didn't move things along either. The bug is easy to reproduce, just rebuild a large (say 20,000 or more entries) passwd file database, or large mail alias database, or rebuild a INN history database (makehistory or expire will do if you set max datasize smaller than the history.pag size so it has to be built on disk for the most impressive demonstration - also fails a few times per run if you build incore), or run pathalias. Now try to do some other things on another login at the same time, such as vmstat 1, which will eventually stop reporting for a minute or two every now and then over the run-life of the other application. When ps will actually run, you will see the killer application is perpetually in U state. In extreme cases, telnet sessions character echo will stop working during the pauses. The bug was originally reported in February of 1997, and exists in all OSF 4.x versions (Ultrix works fine!), and now DEC/Compaq is basically saying, switch to Advfs or live with the bug. "Everyone else is using Advfs" is what we are being told and "it works much better, honest!" But, They don't really guarantee that a migration to Advfs will solve this problem and won't cause other performance problems to surface. We are suspicious since remote UFS systems accessed via NFS show the same symptoms as UFS filesystems on local drives. So, all I am asking here is: does everybody now use Advfs and only Advfs? Anyone who is still using UFS for big disk applications, like USENET News? If so, please speak up. Thanks for your time. Frank Durda IV - only these addresses work:|"The Knights who say "LETNi" | demand... A SEGMENT REGISTER!!!" |"A what?" This Anti-spam address expires August 31st |"LETNi! LETNi! LETNi!" - 1983 (c) 1998, ask before reprinting.