I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / I-Opener Areas / I-Opener Technical Stuff
Memory interleave enabler
VIA Tweaking

New MessageMemory interleave enabler (modified 0 times) ckbone
Profile
Software tweaking has always been a favorite passion of mine....I'm always on the outlook for new information on the subject. Here's a new one on me. Anyone have any info on the subject? Scroll down to the section on Memory interleave.

http://www.networking.tzo.com/net/software/

04-22-2001 05:26:22

New MessageRE:Memory interleave enabler (modified 0 times) hayfever
Profile | Email
Would you just have to run the program in windows once, or is it a regular "execute on startup thing? Hope it's the first, my iO will be running Linux (once parts get here... ;) )

Hayfever

04-22-2001 08:16:33

New MessageRE:Memory interleave enabler (modified 0 times) ckbone
Profile
It sounds like a Windows TSR...a program that runs when windows boots....so it wouldn't be any use to a Linux OS. I haven't tried it yet....I'm hoping someone else will try it first. Be sure to read the Read-me about the program. It could cause problems or damage...if it works it could really speed up the system.
04-22-2001 09:33:40

New MessageRE:Memory interleave enabler (modified 0 times) ckbone
Profile
Here's a portion of that Readme...note the I-Opener chipset is not specifically named. The next version ("coming soon") may apply.

Memory Interleave Enabler
for VIA Chipsets
Questions and Answers

Copyright (C) 2001, George E. Breese. All Rights Reserved.

Version 0.12 4/2/01

"Important notes:

This product CAN DAMAGE A COMPUTER. Use it carefully and at your own risk.

If you have installed a previous version of this driver, uninstall it before installing this version.

License: This software is licensed, not sold. The author of this product has granted you a license to use this product, subject to the
following conditions. By possessing, using, or attempting to use this product, you assume all liability for its use. You agree never to
take legal action, civil or criminal, against its author for any reason. You may redistribute this product in its original form only. You
may not charge money for distribution of the product, unless all such charges are remitted to the author immediately upon payment.
The author retains ownership of all intellectual properties embodied in this product.

What is it?

This is a driver for Windows 9X, NT, and 200X. It will increase the speed of certain computers.

When installed on a computer whose motherboard contains certain VIA chipsets, this driver will reprogram the VIA chipset in order to
maximize the speed of the computer's RAM.

How does it work?

This driver takes control of the main VIA-branded chip on the computers' motherboard, which is the chip responsible for connecting
the CPU to the RAM and ROM and PCI and AGP and so forth. This driver adjusts the way that the VIA chip communicates with the
computer's RAM.

Do I need it?

If your computer has one of the following VIA chips on its motherboard, you might need this driver. In all other cases, you do not
need this driver.

MVP3 or MVP3G, labeled "VT82C598"
MVP4, labeled "VT82C501"
Apollo Pro, Pro Plus, Pro133, Pro133A; labeled "VT82C691" or "VT82C693" or "VT82C693A" or "VT82C694X"
KX133, labeled "VT8371"
KT133, labeled "VT8363"

If you own a computer whose motherboard contains one of the chipsets, then you might need it. To confirm that your computer has
the correct chipset, try any of the following.

Open the computer and examine the motherboard. A large, flat, square chip near the CPU will have the VIA logo and the part
number. This chip may be under a heat sink and may be difficult or impossible to read, in which case you will have to try a
different method.
Download Sisoft Sandra. Examine its Mainboard Information. The 2001 edition of Sandra should identify the chipset clearly.
Use a PCI identification utility to obtain a list of the PCI devices in the computer. The correct chip has vendor number 0x1106
and ID number 0597, 0598, 0691, 0391, or 0305.
Refer to your motherboard manual.

Your computer might already have interleave enabled, in which case you will not need this driver. You can use Sisoft Sandra 2001
to check the computer's current use of memory interleaving. Use the Mainboard Information screen. Scroll down to "Logical/Chipset
Memory Banks". Look at the "Bank Interleave" setting. If the setting is "2-way" or "4-way", then you do not need this driver.

Why do I need it?

ViaTech (www.viatech.com, or www.via.com.tw) has included a "memory interleave" feature in their chipsets since 1997. Many
motherboard makers chose not to enable it, however. This feature can drastically improve the speed of memory access, but only if it
is switched on.

I only have one memory module. Can I use interleaving?

Generally, yes. In this kind of interleaving, the chipset can remember the location of up to four recently-used "pages" of memory on
the module and can return to them instantly. Depending on the chipset, it can also remember the last four pages per module, for a
total of sixteen pages. When the CPU needs to access these pages, the VIA chipset can access them quickly without having to
calculate their location.

The amount of interleaving depends on the size and type of the memory chips on the computer's RAM modules. SDRAM is required.
If the chips on the modules store 16 megabits each, the VIA chipsets can achieve two-way interleaving; if the chips are 64 megabits,
four-way interleaving is possible."

04-22-2001 09:47:55

New MessageRE:Memory interleave enabler (modified 0 times) justme
Profile
Hi,
First question has anyone installed and benchmarked it in an I-Opener? If so, what were the results?

Second question, color me suspect, however is any source other than "George" known to supply this or to have a compiled and virus checked version?

Maybe I'm just paranoid, but I really dislike installing system level software unless it's likely to work and not infect my system with some sort of virus!

04-22-2001 10:13:10

New MessageRE:Memory interleave enabler (modified 0 times) friar
Profile
I've been trying to download it with no luck, I suspect I'm having problems because I connect through the Junkbuster proxy and Zonealarm, and if I 'lowered my shields' I'd probably have success. It makes me nervous though, that when you try to download it's not a straight download but instead a dialog box using java or something. Someone with nefarious intent could use the same setup to unleash 'God-knows-what' on your computer.
I've just started using Intellitamper and I'm not proficient with it yet, but when I tried Intellitamper on this site I didn't find the zipfile either. A Lycos FTP search for the software also failed.
Maybe someone else has better luck?
04-22-2001 10:25:05

New MessageRE:Memory interleave enabler (modified 0 times) mp3boombox
Profile | Email
nope its been removed from the site,

hay ckbone if you got a COPY of it send it over please I'll test it out. :) i coudl care less if it does something to my IO, i got back up's lol.

berinc @ acadia.net

04-22-2001 19:17:40

New MessageRE:Memory interleave enabler (modified 0 times) ckbone
Profile
Haven't been able to find much info on this subject....however, it seems a BIOS update could possibly enable this feature on the I-Opener...or a program such as the one first mentioned in this thread. It sounds like a pretty good tweak if someone could pull it off. I have yet to determine if memory interleve can be implemented on the I-Opener. Check out the improvments on this M-board when memory interleve is turned on:

http://www.extremeoverclocking.com/reviews/motherboards/Soyo_aa3-Bios_1.html

04-23-2001 04:01:30

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
http://bethie.net/~programmer/SetInter2.com and http://bethie.net/~programmer/SetInter4.com will (should) set the memory interleave to 2 and 4 respectively. They should only be run from DOS.


Also, there is an updated FixUSB.cmo, which is more technically proper than the last version.


PLEASE let me know if you use these and see some benefit from them..

Thanks

04-23-2001 07:49:10

New MessageRE:Memory interleave enabler (modified 0 times) ckbone
Profile
Programmer...The links just posted aren't working for me. What is the story on these progs? Not sure if I want to try these without more info...

I just checked a computer I've been building...EPOX EP-6VBA2 VIA Apollo Pro133A chipset. Sure enough, in the BIOS settings, chipset features, there is a setting called "Bank interleave" It was disabled by default. I changed it to 4-way and re-ran the Sandra benchmarks. Int ALU/Ram increased 19%....Float FPU/Ram increased 26%. The computer does seem snappier....but it was very fast to begin with. On a low-powered computer like an I-Opener, I bet a similar tweak would be quite noticeable.

04-23-2001 17:13:21

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
I just tested them, and they did download for me from work and from home. They are rather small at 33bytes, but they should set the proper registers on a via 501 chipset; The programs are written in assembler, and only a few lines long at that.

Here's the disassembled source (I left the real source at work)

did I mention? I wrote it, and you should be able to see what it does by looking at 501.pdf on our favorite freedrive account

04-23-2001 18:14:13

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
00000064 66B864000080 mov eax,0x80000064
0000006A BAF80C mov dx,0xcf8
0000006D 66EF out dx,eax
0000006F BAFC0C mov dx,0xcfc
00000072 66ED in eax,dx
00000074 6625FCFCFCFF and eax,0xfffcfcfc
0000007A 660D01010100 or eax,0x10101
00000080 BAFC0C mov dx,0xcfc
00000083 EF out dx,ax
00000084 C3 ret

for interleave of 4
0000007A 660D10101000 or eax,0x101010

04-23-2001 18:16:07

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
ok fixed a bug where bank 3 was not getting enabled, tested them on my main machine which also has a via chipset and they do work to enable interleaving, just put it in your autoexec.bat, they'll run then vanish, using no system resources.. :) (not that you'd miss 33 bytes anyway..)

These should work on any newer VIA northbridge by the way.. including my pissy slow m807 mobo

hmm.. 4 won't download but 2 will.. It's taken care of now...
'twas a problem of capitalization

04-23-2001 20:13:17

New MessageRE:Memory interleave enabler (modified 0 times) GWIZAH
Profile | Email
so whats the status of the I-o? does it support memory interleave? Or is this just for Via chipset mobos?
04-23-2001 21:40:46

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
the IO is a VIA chipset mobo, and yes, it supports interleaves.. I haven't (and probably won't) run any benchmarks on it, but if someone else would like to, please post the data.. , maybe for stock IO (0way, 2way, and 4way) and 128MB IO(0way, 2way, and 4way)
04-24-2001 05:48:32

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
more bug squishing, download the updates which take care of an intermittant lockup on boot, and enable interleaving on bank 4 (which I didn't realise existed because I can't add.)
04-24-2001 16:00:41

New MessageRE:Memory interleave enabler (modified 0 times) hayfever
Profile | Email
So, now that there are assembly-language programs that can do this, is there any possiblity of a way to permenantly enable it in the BIOS, so "alternative" OS's used on the board like Linux and *BSD can share the enjoyment? Or *NIX ports of the code (I'm not a coder, or else I'd volunteer).

Hayfever

04-24-2001 18:14:39

New MessageRE:Memory interleave enabler (modified 0 times) vailr
Profile
Can this be used with Win2000, which doesn't have an autoexec.bat file?
04-24-2001 18:46:38

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
There should be no problem adding this code to the bios, I'll look into making a modified v5patched today, but will need someone to test it as my time to play at home is very limited.

As far as win2K goes, I doubt very much that it would work in this manner if there's no way to run a com file.. once winNT is started, you have to be ring0 to make port calls, and this uses port calls.


; SetInterleave was made by Programmer, (c) 2001.
;
; This hopefully forces settings to set the memory Interleave on the IOpener
; Interesting Note, the Via Chipset only responds to DWORD calls
;
; Compiled using nasm: nasm SetIntr4.asm -f bin -o SetIntr4.com

org 100h

SECTION .text


start:
;store the stuff we're going to use
push eax
push edx

;load the Double-Word with the Memory Interleave Address
mov eax,80000064h
mov dx,0CF8h
out dx,eax

;Read the Current Value into eax
mov dx,0CFCh
in eax, dx

;Set the bytes we are pointing to to ???? ??01b
AND eax, 11111100111111001111110011111100b
OR eax, 00000010000000100000001000000010b
mov dx,0CFCh
out dx, eax

;and pull these back out
pop edx
pop eax
;leave
ret

04-25-2001 05:46:16

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
http://bethie.net/~programmer/v5p.bin is a modified v5 patched, which contains the code to enable 4 way interleave as an option rom, it will get loaded after all of the general bios stuff, but before the boot of the system, this in this manner it should work with all operating systems.

If there's anything else anyone wants to add to this, there's plenty of room. Perhaps if anyone has tested the FixUSB.com, to see if it fixes the USB network problems, we could add the code from that here as well.

04-25-2001 09:18:54

New MessageRE:Memory interleave enabler (modified 0 times) * StarFish *
Profile
Thanks Programmer,

I ReFlashed My BIOS to this Version. No Problems. (No BenchMarks here either)

Could WE get the right Keycode for "Delete" to enter BIOS Settings
(instead of CTRL ALT ESC) or isn't this what You Meant by Adding Code ?

04-25-2001 10:25:19

New MessageRE:Memory interleave enabler (modified 0 times) Tackhead
Profile
Can't promise I'll get to it this weekend, but I'll volunteer for benchmarking the interleave-patched BIOS under 32M conditions.

Currently available: Stock WinChip, K6-III-333, P166MMX, K6-2-200 (original), and hopefully a K6-2+-450 from Tiger Direct shortly.

04-25-2001 10:34:48

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
I've never actually looked at what it would take to make it respond to del.. and, for the purposes of the change I made here, that couldn't be added. Mostly what could be added is chipset config stuff..
04-25-2001 10:53:36

New MessageRE:Memory interleave enabler (modified 0 times) vailr
Profile
Supposedly, certain Sony laptop bioses have the ability to boot from a USB floppy drive. Can this function be added to the IO's bios?
04-25-2001 21:23:12

New MessageRE:Memory interleave enabler (modified 0 times) BigDog
Profile | Email
Speaking of the IO bios, whatever became of the thread and subject of adding a floppy drive to the IO, I remember that the pads for the floppy were found, but the bios needed to be modified inorder to enable the controller.

Is this something than can be added, perhaps not as a changable function but too as the memory interleave, as an option ROM too? I understood that it was too complicated to actually change the main bios code to allow the the controller to be enabled, but perhaps after the main code loads as and option bios.

Having a bootable floppy drive would kick A$$

Who did the orginal hacking of the IO bios code, was that you Programmer??

04-25-2001 21:40:22

New MessageRE:Memory interleave enabler (modified 0 times) El_Kabong
Profile | Email
Sutpid question alert: Can the IO BIOS be flashed like a normal BIOS or must the chip be removed and sent to Jack?
04-25-2001 23:08:18

New MessageRE:Memory interleave enabler (modified 0 times) justme
Profile
Vailr,
That'd be heaven... I used to want a CD ROM in my I-Opener, however I've become so darned used to an external USB CD/RW (and the ease of moving USB stuff from computer to computer) that I no longer want a CD inside my I-Opener, however a bootable USB CD... OHH YEAH Doubt we'll get one, but it'd be awfully slick
04-26-2001 03:19:51

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
Bootable USB: umm I dunno.. I have no Idea even what spec applies to this, but if we can figure it out, then it can be done.

Bios Crack: Nope, I had make a couple failed attempts, then went on vacation, and when I got back, Wild_Pencil had it done.

Bootable Floppy: I guess all that's really needed for that is to make a IBM Compatible, Floppy bios (i.e. it handles the interrupts like an IBM would) I might even be able to FIND that somewhere..

Flashing: Yup you can do it by yourself, the details for how are on this board and the tools are on freedrive. Note, don't even THINK about hot flashing until you have the appropriate chip puller

Tackhead: Thanks for volunteering, It'll lang arduous tiring work, and maybe deadly to, But I KNOW you can pull it off... :)

04-26-2001 06:23:03

New MessageRE:Memory interleave enabler (modified 0 times) hayfever
Profile | Email
Wow, all these bios changes...so of course I receive my Badflash chip the same day the changes come out (thanks for sending it Badflash, it works great). Guess I'll have to flash. Programmer, the vaio bios I sent you may have USB booting in it, I don't remember. Have you had any luck with an animated a/v boot logo?

Hayfever

04-26-2001 08:38:00

New MessageRE:Memory interleave enabler (modified 0 times) * StarFish *
Profile
I-Opener Technical Stuff / Floppy Drive
Programmer, Your notes were Posted 1/30 in this Thread.
04-26-2001 09:02:44

New MessageRE:Memory interleave enabler (modified 0 times) justme
Profile
Programmer,
I reflashed my daughters largely unmodified V4a I-Opener which is running mostly stock aside from flashed BIOS, 128MB SODIMM and a 9.5mm 6GB IBM Travelstar hard drive wedged in... it worked well... I didn't benchmark before and after, however it appears subjectively to be better at animating screens than before (writes for say reader rabbit). Also on boot the Windows 98SE theme sound doesn't have a slight hesitation it did prior to flash... thus my subjective opinion is it helped (certainly it didn't crash). Kudos to you.

I wonder though, there have been different versions of BIOS's for I-Openers mentioned from time to time, enabling say floppy drive support or bootable CD ROM's, do we have divergent BIOS's? Is the BIOS you modified inclusive with bootable CD ROM's and enabled floppy drives? Not that I need these, but I'm wondering about the scattering of BIOS functionality into needlessly divergent paths (that is if we make a mod from one base and a have 2 different but not compatible mods, do we wind up eventually having to make choices as to which flavor of BIOS works best for us, or worse having to not get a functionality already existant (say bootable CD ROM's because that derrivitive was never modified to improve SODIMM performance?)?

I tried my daughters machine as it's the most vanilla, I'll try a K6-III+ running W2K at 500Mhz sometime this weekend and do my best to have benchmarks Thanks for the great work!

04-27-2001 07:49:59

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
To date, nearly all of the bios updates have been done in the manner of "option roms" the option rom that I built to enable the memory interleave, should be compatible with the option rom that Wild_Pencil put together for CD bootability, and the option rom that I put together for floppy access (even though the 1 person who can verify it's function has not responded yet).

Ultimately, things that EVERYBODY wants (i.e. 4 way interleave and fixed USB) can be smuggled into the system rom itself, guaranteeing that everyone has the best possible configuration..

04-27-2001 08:11:14

New MessageRE:Memory interleave enabler (modified 0 times) justme
Profile
Cool,
Can I suggest if these are all compatible that a unified to BIOS be created listing perhaps the additions (also any chance of getting the darned del key to work instead of ctl alt esc?)?

04-27-2001 09:18:30

New MessageRE:Memory interleave enabler (modified 0 times) ckbone
Profile
This very topic is something Badflash should be interested in. I for one, have several Badflash Bios chips that cannot be flashed in the I-Opener. I would be willing to pourchase at least three chips that had the new functionality. Great job Programmer......
04-27-2001 09:50:00

New MessageRE:Memory interleave enabler (modified 0 times) El_Kabong
Profile | Email
And don't forget removing/changing that ugly boot screen. Add that feature in too.
04-27-2001 09:52:41

New MessageRE:Memory interleave enabler (modified 0 times) ckbone
Profile
Along this line of VIA tweaking.....Has anyone used The H.Oda program WPCredit on an I-Opener? This can enable memory interleave and can also be configured to automatically load at startup. Check this out:

http://home.epix.net/~yaffy/howto/msi_k7tpro2a/msi-k7tpro2a-3.html

04-27-2001 19:16:32

New MessageRE:Memory interleave enabler (modified 0 times) mp3boombox
Profile | Email
here are some bench marks with sisoft sandra k6-3 450 @ 500mhz
128megs of memory 5x100fsb
interleave 4
cpu multi media

1329/1844 with interleave
________________________
1328/1844 with out interleave

mem bench mark

100/147 with interleave

93/133 with out interleave


Interleave 2

cpu multi media

first try running interleave 2 i locked up after loading the driver I also only edited my autoexec in windows and rebooted to boot from interleave 2 instead of 4??
cpu mm
1329/1844 with interleave

mem

98/142 with interleave

interleave 4 does a hair line better job then interleave 2 but BIG difference between haveing inter4 and haveing no inter enabled period!

04-28-2001 09:27:31

New MessageRE:Memory interleave enabler (modified 0 times) mp3boombox
Profile | Email
Oh these bench marks are using the latest version's ofthe interleave enabler's

I did have some trouble with the first version's and locking up in windows but not with the newer releases.
I mostly locked up when i accessed any thing that tryed to access the chipset information. or certian programs.

04-28-2001 09:38:43

New MessageRE:Memory interleave enabler (modified 0 times) friar
Profile
I've been using the 4-way interleave prog from my autoexec at boot (Win 98SE) for about a week now and haven't had any crashes. Unfortunately I haven't benchmarked, but it does seem faster booting and doing stuff in Windows. I had been running RamIdle and Motherboard Monitor and was nervous about what would happen, but I've had no hiccups. Feeling adventurous today, I tried some reg tweaks. Doing the 'Browse in Separate Process' really seems to improve the system even more. (now I wish I'd of benchmarked!)
05-03-2001 01:25:27

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
if you're using the autoexec version, you can still benchmark. just disable it in autoexec and power cycle, run a benchmark; reenable, and run again. results are appreciated.

There is also a version that you can cbrom into your bios. good for os' like linux, NT, etc

05-03-2001 05:51:26

New MessageRE:Memory interleave enabler (modified 0 times) El_Kabong
Profile | Email
Is anyone working on a BIOS with the USB fix and interleave-4 mod? I flashed my late v3 with the latest Inter-4/V5 BIOS. It works fine. The update even remembered my old settings. Only changes from previous BIOS were now I have no I-Opener "Nothing But Net" boot screen and I had to deselect the "Onboard Audio" choice. The interleave speed improvment is small but the update was well worth it just to remove that ugly cartoon boot screen. Boy was I sick of that image. The USB fix would be nice to have.

Anyone still working on this?

05-03-2001 20:54:50

New MessageRE:Memory interleave enabler (modified 0 times) Programmer
Profile
to date, no one has even verified that the USBFix does anything. Should someone reply that yes, it did fix the USB problems, I will add it to the rom that sets the interleave at 4, and make sure that badflash has it available to distribut on his roms.

El_Kabong: will YOU try the FixUSB program? If you do and it works, let me know.

05-04-2001 07:07:24

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3