From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,7f28b3adf9259ba1,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-02-05 08:02:29 PST Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!news.funet.fi!hydra.Helsinki.FI!usenet From: root@fusion.cuc.ab.ca (Superuser) Newsgroups: comp.os.linux.announce Subject: CxPatch 0.25a- RE-POST Followup-To: comp.os.linux.misc Date: 4 Feb 1994 22:07:49 GMT Organization: Starbright Research Message-ID: <2iugvl$1ef@hydra.Helsinki.FI> NNTP-Posting-Host: hydra.helsinki.fi Keywords: Cyrix 486, patch [ Moderator's note: this announcement replaces an earlier one that didn't have time to get out before this one arrived. --liw ] Hmm.. it seems that the file on sunsite.unc.edu is corrupted. There's a new copy being uploaded right now, so if you've been having problems with CxPatch, get the new copy and things should be fine. Here's an excerpt from the README file: C4's Cyrix 486 patches for Linux- Version 0.25 ----------------------------------------------- DISCLAIMER ---------- First, the legal stuff.. I don't want Joe User slapping me with a suit because he thinks I destroyed his machine or his data or whatever. I take no responsibility whatsoever for any damages caused directly or as consequence of the use or non-use of the following instructions and patches. They have worked for me but they may or may not work for you. These instructions and patches are provided for purely informational purposes. Although I have checked it over, I am also not responsible for any mistakes in this text nor any direct or consequential damage caused because of them. There is no guarantee stated or implied. USE AT YOUR OWN RISK. IMPORTANT NOTE -------------- These patches are for the *Cyrix* line of 486 processors *ONLY*. They have not been tested on such chips as the IBM 486SLC or IBM 486DLC, and when used on non-Cyrix parts may have no effect or may cause untold havoc. As stated above, use at your own risk. I can offer no help at all on the subject of non-Cyrix chips, so please don't email asking for help unless you have a genuine Cyrix part. *VERY IMPORTANT NOTE* --------------------- While I'm glad to answer questions and attempt to help you solve any problems you have with this patch over email, it is *very* important that you email to the correct address. I have several email addresses, and at least one of them is reserved for research-related mail ONLY. This link is paid for, and I don't appreciate getting people's problem reports at that address. The correct address to send problem reports and other queries to is: clau@acs.ucalgary.ca. I may post articles from a variety of machines, but the above address is the *ONLY* address at which I will reply to questions about this and other packages. Mail to any other address MAY get a reply if I'm feeling good, otherwise it will be ignored. Repeated messages to the wrong address will result in a note to your system admin. Also, I've taken the time to write the README files in this package, and they answer a variety of questions that you might have, so please take the time to read them CAREFULLY before you email. Part A- Frequently Asked Questions ---------------------------------- 1- What's a Cyrix 486? A Cyrix 486 is one of several clones of the Intel 80486 CPU. The Cyrix 486 is made by Cyrix Corporation and comes in the following varieties: Part No. Description --------- ------------------------------------------------------- Cx486DLC An i486 with 1K cache in an i386 pin-compatible package. Uses standard 387 part for math coprocessor. Designed for DLC-capable motherboards, no cache coherency logic. Cx486SLC As above, but 16 bit external bus (a la i386SX) Cx486DRu2 A daughterboard with a clock doubler, cache coherency logic and a 486DLC processor. Plugs in place of i386 processor. Uses standard 387 part for math coprocessor. Cx486DRx2 The single-chip integrated version of the DRu2. Cx486SRx2 As above but for i386SX. *Cx486D i486DX pin-compatible part with 2K cache. *Cx486S i486SX pin-compatible part with 2K cache. * These are "real" 486 parts and don't require this patch. 2- How do the Cyrix processors compare to their Intel counterparts Assuming both systems have no external cache, a 40 MHz DLC part gets about the same performance as a 33 MHz Intel part. (At 40 MHz the DLC benchmarks faster, but for real work, the bigger cache on the Intel part plays an important role). If both machines have an external cache, the 40 MHz DLC part will get better performance. Floating point performance with an Intel 387 coprocessor is slightly better than with the 386, but still significantly below that of the built-in 487 FPU. Performance with the recommended Cyrix 83D87 coprocessor is reported to be *better* than that of the 487, but I can't confirm this. There have also been reports of incompatibilities with IIT 387 coprocessors. If you have an IIT coprocessor and are having problems, try pulling the coprocessor before emailing for help. 3- I'd like a Cyrix processor. Which one should I get? Because of the problems with cache-coherency, unless you have a motherboard that is DLC-capable (cache coherency logic on motherboard and cache enable in BIOS) the obvious choices would be the DRu2, DRx2 and the SRx2. However the DLC and SLC parts can be found for as little as $80, whereas the DRx2 part sells for $349 (if you buy from Cyrix, possibly much less elsewhere). The cache coherency problem on the DLC and SLC parts can be worked around, but your speed will suffer badly. Depending on your application, the savings from getting the DLC part instead of the DRx2 part may be worth the performance loss. 4- What do these patches do? The Cyrix 486 chips have an interesting design "feature"- upon power-up or reset, their chip caches are enabled, but they are set up such that the none of your memory is marked as cacheable. This is equivalent to disabling the cache outright. Without the cache, performance gain of the system vs. the original 386 processor is minimal. Enabling the cache improves system performance by 100% or more! These patches simply enable the cache on the chip so you get the best performance possible. The patches also allow the use of a DLC part on motherboards that do not directly support this chip. 5- I've got a 486DLC-capable motherboard, do I need the patch? As expressed above, a DLC-capable motherboard's BIOS will automatically enable the chip cache, so no, you don't need this patch. How do you tell if you've got a DLC-capable motherboard? Well, the first clue is if you bought the system with a DLC chip on the board. Other clues include the presence of BIOS setup options for the DLC, the fact that you don't need any software drivers, etc to enable the cache when you boot DOS. An already high BogoMips (tm) (13 or better for a 40 MHz part) value when you boot Linux also indicates that you have a DLC-capable motherboard. 6- How do I install the patch? The patch comes in two parts, the first to add the Cyrix options to the kernel configuration script, and the second to add the cache-enable code to the bootstrap routine. To install, copy the patch file to your linux source directory (/linux on most machines), and type 'dopatch'. If everything works, type 'make config' and answer the questions, then type 'make' once more to recompile the kernel. Please mail any corrections/comments/enhancments/money to clau@acs.ucalgary.ca Direct all flames/threats/rotten veggies to /dev/null -- Christopher Lau- "Mr. Unix" | / Fusion: Playing With Fire! StarBright Research | / / H + H -> He + 24 MeV -- | /_/_/_ "Bring back Trudeau!" root,lauc@fusion.cuc.ab.ca |____________ "This space for rent" -- Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu PLEASE remember Keywords: and a short description of the software.