Xref: utzoo news.software.b:8477 news.admin:15589 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!qiclab!neighorn From: neighorn@qiclab.scn.rain.com (Steven C. Neighorn) Newsgroups: news.software.b,news.admin Subject: Re: A fix for non-compliant Message-ID's Message-ID: <1991Jun28.074606.19251@qiclab.scn.rain.com> Date: 28 Jun 91 07:46:06 GMT References: Organization: SCN Research/Qic Laboratories of Tigard, Oregon. Lines: 41 In article brendan@cs.widener.edu writes: > # Note for SunOS 4.1: I expressly didn't use -O2 or higher because of > # the many bugreports that are logged discounting their accuracy. (Most > # notable is -O2, generally accepted, even in the Gnu Project.) First of all, thanks for your patches. Also, it should be noted that, at least using Sun's unbundled C (SPARC Compiler 1.1), the options "-fast -O4" can be used with CNews without harm, and at a fair increase in speed on some of the programs (they know who they are)... The -O4 overrides -fast's -O2 default. Expire, relaynews, and updatemin all show marked improvement. Much to my shame, I have not tried pushing the limits on the supplied C compiler, since I much prefer the unbunbled C, the list of options to make /bin/cc do any kind of optimizations are lengthy, and because of the numerous outstanding (heh heh) bugs against /bin/cc. I wish Sun would ship the unbundled compiler with the OS, or perhaps sell it for some nominal materials fee. I have been running the latest (3/24) CNews on several SPARC and Moto boxes compiled/optimized with the unbundled compiler since late March. Another system tweak (a lot of people are probably already doing this, but it can't hurt to repeat it) which might interest admins is to replace the vendor supplied compress with the recently posted Compress 4.1, and compile the new compress with all the optimizations possible turned on. I have done this to dozens of Sun systems I take care of, and see anywhere from %10 to 25% improvement on compress and 10-15% improvement on uncompress. Part of this improvement is due to the changing of the division hash to an xor, and part is due to the higher levels of optimization used on the source. Changing to the 4.1 version and compiling with normal opt, or compiling 4.0 with full optimization does not match 4.1 source with full opt. -- Steven C. Neighorn neighorn@qiclab.scn.rain.com/neighorn@gooeyduck.West.Sun.COM Sun Microsystems, Inc. "Where we DESIGN the Star Fighters that defend the 8705 SW Nimbus Drive, #300 frontier against Xur and the Ko-dan Armada" Beaverton, Oregon 97005 work: (503) 627-0451 / home: (503) 641-3469