Slashdot Mirror


Introduction to 64-bit Computing and x86-64

James writes "Ars Technica has an article up explaining 64-bit computing from the x86 angle, specifically from the angle of AMD's Hammer. The article explains the details in that usual Ars style, and I found it very useful for thinking about what kinds of applications I may want to put to the test on one of these when we get a box in the office. Even non-x86 freaks may appreciate this, since it breaks down some of the basic advantages of 64-bit computing, and just who can expect to see gains in the near future."

43 of 259 comments (clear)

  1. Looking forward to it by dreamchaser · · Score: 5, Interesting

    While IA-64 isn't as bad as many here like to paint it, I'm looking forward to x86-64, if for no other reason than the continued pressure and competition for Intel.

    We've all heard the rumors that Intel has a 'secret' project to produce a P4 that executes x86-64. I have a feeling that they might have to unveil it, if only for marketing reasons. Wouldn't it be ironic, Intel adopting AMD's extensions to the x86 instruction set!

    1. Re:Looking forward to it by MSTCrow5429 · · Score: 5, Interesting

      InStat/MDR thinks that Intel will adopt x86-64. As an AMD shareholder, I think that would be great, but I'm not sure I share InStat/MDR's optimism. Athlon 64 will not only have to be equal to the P4, it will have to blow it out of the water. Maybe InStat/MDR knows something I don't.

      --
      Slashdot: Playing Favorites Since 1997
    2. Re:Looking forward to it by e8johan · · Score: 3, Interesting

      It would be truly ironic if Intel adopted AMD's extensions, but it would only show that AMD dared to go against Intel and do the right thing. From a business point of view, it was a brave move and I believe that it will be the best move that they have made in a long time.

    3. Re:Looking forward to it by Anonymous Coward · · Score: 2, Funny
      What if Intel slaps Yamhill tech (Intels version of x86-64) on Banias core instead of Prescott?

      Simple, AMD will counter with their upcoming Bananas core and grapefruit tech. Who makes up these stupid nicknames?

    4. Re:Looking forward to it by Miguelito · · Score: 2, Interesting

      Speaking for myself... I hate it so far because it's useless. I've had a demo dual 900MHz box in house for months.. even installed a pre-release of the RH Advanced Workstation mentioned in another recent post. The box sat still almost the entire time because there still aren't any damn apps for it yet! I support IC designers, and we couldn't get a single IPF version of their tools.

      I'm really looking forward to x86-64. We'll be able to slide it in alongside our existing (growing) linux compute group, and use it for 32bits now, and get 64 bits as time goes on. Can't do that with Itanium.. 32 code runs so slow on there it's pathetic.

      --
      - My favorite error message: xscreensaver, running on an old Sparc 5 w/ 8bit color: bsod: Couldn't allocate color Blue
  2. What to use that for by teaserX · · Score: 2, Funny

    > "...thinking about what kinds of applications I may want to put to the test on one of these when we get a box in the office.
    I bet it rips mp3s like a motherscratcher. Oh, you said "office"...

    --
    We really need your help
    http://www.gofundme.com/help-sherry
  3. Cost advantage? by Anonymous Coward · · Score: 2, Flamebait

    I've read up on AMD's and Intel's 64 bit computing and its improvements over 32 bit. But the improvements over 32 bit just aren't worth the extra cost and administration time that home and small business users can afford. Lets wait until most large businesses that can afford the extra cost and hassle adopt 64bit before we home users do. Just wait and look for real advantages over 32 bit before we all jump on the 64 bit bandwagon.

    1. Re:Cost advantage? by Mr+Z · · Score: 2, Informative

      You're 1/2 correct. While current 32-bit x86s can access an address space larger than 32 bits (36 bits currently, although I believe you can extend further to about 39 bits), you cannot address that additional space linearly. You end up with separate 4GB segments that you have to manage directly. Pointers start to get weird again if you try to address more than 4GB with a single process.

      We've had large flat address spaces for so long, and they offer so many conveniences, that nobody's too excited about introducing "near" vs. "far" pointers and segments back into the programmer's model. Those aren't new -- 16-bit x86 code used these heavily -- but nobody was sad to see them go. Right now, those issues are hidden in kernel space, and tasks only see a nice, flat 4GB window on the world. RAM beyond 4GB is used across multiple tasks, for disk cache, and so on. A single task can access more than 4GB through creative mmap()'s and crap. Eew.

      Thus, tasks that want many GBs of data in RAM really need to go to 64-bit pointers (or, at least, more than 32-bit pointers) for true efficiency. That essentially means transitioning to a 64-bit architecture.

      --Joe
    2. Re:Cost advantage? by Hoser+McMoose · · Score: 2, Insightful

      Obviously you didn't bother reading the article before posting did you? I guess I shouldn't expect that though.

      While it is true that 32-bit x86 chips can address 36-bits of memory using Intel's PAE, they do so using a really ugly hack. It was a really ugly hack back in the 16-bit x86 days, and it's still an ugly hack now.

      AMD's solution is the right one, a true flat 64-bit address space. 64-bit integers aren't particularly important, it's quite rare that an application needs 64-bit integers, and when they do they can easily be handled with two 32-bit integers (albeit at a significantly reduction in performance as compared to true 64-bit integers). 64-bit addressing is what x86 is all about. Well, that and clearing up a few of the remaining problem spots in x86, ie doubling the registers and getting rid of some mostly-useless modes.

  4. Mix code in long mode? by SynKKnyS · · Score: 5, Interesting

    After reading the topic article (of which I saw on HardOCP yesterday), I was left with one question. Can you mix 32 bit and 64 bit code inside of ONE process? I know the OS can support 32 bit and 64 bit processes under Long mode, but can you mix code in a single process? It would be nice to know if you could build an application, query the CPUID feature flags, and then produce optimized code paths for both 32 bit and 64 bit. This would be nice because you can just supply one set of binaries to your customers instead of two seperate binaries. Anyone have any experience with the Opteron who can answer this?

    1. Re:Mix code in long mode? by CoolVibe · · Score: 4, Insightful

      Well, the industry can always revert to what Apple did if it isn't possible. Make "Fat" executables. ia-64, ia-32 and x86-64 in one executable. Sure, the binaries will be bigger, but with harddisk prices nowadays I don't believe disk space is really an issue :)

    2. Re:Mix code in long mode? by darkov · · Score: 3, Informative

      From the article:

      These modes are set for each segment of code on a per-segment basis by means of two bits in the segment's code segment descriptor.

      So you just get your compiler to generate two segments. You'd have to figure out how to call one or the other, but there is the basis for it.

    3. Re:Mix code in long mode? by ThaReetLad · · Score: 2, Insightful

      My understanding of the situation is that in long mode all your pointers etc are 64bit values and you don't get the extra registers without being in long mode. This means that unless you have compiled for 64bit pointers your code won't run in 32bit mode because the size of the pointers will be wrong. AFAIK the 64bit mode isn't a cpu flag which can be tested for like the SSE/SSE2 instructions, but a mode like Real/Protected mode. Perhaps your process may be able to switch mode but I doubt it. The other possibility of course is that you write byte compiled code which will run in the native x86-64 runtime.

      --
      You can't win Darth. If you mod me down, I shall become more powerful than you could possibly imagine
    4. Re:Mix code in long mode? by CoolVibe · · Score: 4, Informative
      I don't know, I'd have to check.

      From the elf(3) manual page:

      [snip]
      ELF provides a framework in which to define a family of object files, supporting multiple processors and architectures. An important distinction among object files is the class, or capacity, of the file. The 32-bit class supports architectures in which a 32-bit object can represent addresses, file sizes, etc., as in the following.
      [snip]

      So, basically it's possible with ELF. I don't know about PE. Otherwise, bundling is possible. Just look at Mac OS X/NeXTSTEP, which used fat bins with Bundles.

  5. Coding styles by ultrabot · · Score: 5, Interesting

    The main perk of popularization of 64 bits is, if we think of the future, that more source code will be written with 64 bit capability in mind. Long ints will be used where they seem to be needed, etc. Open source movement is probably the most obvious benefactor, considering how harnessing that extra mile is/will be a trivial matter of recompiling. If we get a fast, cheap, non-x86 64 bit system in the future, all the better. But 64 bit capability should definitely be available on the desktops of the masses also, whether they needed 10 gig databases or not! More power for AMD!

    I'm looking forward to industrial strength, rock solid Opteron servers to finally put to rest all the speculation how Linux on x86 machines is not up to all the tasks of Solaris/HP-SUX systems...

    --
    Save your wrists today - switch to Dvorak
  6. plenty of potential customers by g4dget · · Score: 5, Interesting
    Just about anybody who runs Beowulf clusters or does scientific computing on Linux is a potential customer for these. Many people run into the dreaded 4G barrier, but Itanium is too costly and too much of a jump. With the x86-64, moving to 64bit is essentially no-risk--you know that at worst, you just get a really fast x86 machine.

    But what will be really interesting is when operating systems will be specifically designed for this. With 64bit, a lot of the cruft in 32bit operating systems can finally go away. For example, memory mapped I/O finally becomes useful again, shared libraries don't clash as easily, etc.

  7. Wrong about underflow by stewartj · · Score: 5, Informative

    a small point, but the author is wrong about underflow. from the review:

    you get a situation called either overflow (i.e. the result was greater than the highest positive integer) or underflow (i.e. the result was less than the largest negative integer)

    underflow is when you're trying to represent a fractional number smaller than the smallest floating point number available. ie: you went too close to zero.

  8. intel hack by avandesande · · Score: 3, Insightful

    Furthermore, Intel supposedly has a fairly simple hack that they could implement to allow their 32-bit systems to address up to 512GB of memory. Still, the cleanest and most future-proof way to address the 4GB ceiling is a larger pointer
    They forget to mention that even if you can have more than 4gb on xeon machine you cannot address any single block of more than 4gb. Forget about putting your oracle db into memory.

    --
    love is just extroverted narcissism
    1. Re:intel hack by bunyip · · Score: 4, Informative

      They forget to mention that even if you can have more than 4gb on xeon machine you cannot address any single block of more than 4gb.

      True

      Forget about putting your oracle db into memory.

      Not true

      On a Xeon machine, Oracle will let you put up to 62GB in memory. The trick is an operating system call that fiddles the page table and "swaps" pages from areas you can't see to areas inside your address space. It works well for applications that aer conscious of 4K pages and not page thrashing. Databases are the prime example, executing a few dozen privileged instructions and changing the page tables is much faster than going to disk.

      Here's a description of how to do it on Linux:

      For Windows, it's called Address Windowing Extensions (AWE).

      I think MySQL supports these tricks too

      Alan.

  9. Re:Crap article. by Anonymous Coward · · Score: 5, Interesting

    Do you know what you're talking about? By math speak most addresses are just integers, but in computers a (void *) can be cast to a unsigned long without any loss of data, but thats not the point. x86-64 can only access 40bits of physical/virtual address space, even though internal datapaths can handle 64bit. He says that the biggest improvement will be large math and double the registers. As for x86, it's always been a hack. Im not a 16bit x86 buff, but it used switchable banks of memory. At no point could you address more than 64k in a segment. In the pentium, Intel added PSE (page size extensions) with allow 36bits total memory, but only a 32bit address space. Thats why you can configure a x86 linux kernel to handle 64gigs of High Memory. This is useless for any kind of IO address space, and still only 2^32 can be seen by any process. In the Pentium Pro they added PAE (physical address extention) which again lead to 36-bit addressing, but if your EIP register is only 32 bits long, how do you represent code in 0xfffffffff? Extended addressing on the x86 has always been a hack. Finally with x86-64 programs will be able to see more than 4gigs (minus what the OS steals. Win2kPro takes 2gigs, but Win2kServer and Advanced Server can take 1). Even alphas only have a 43bit phy/vir address space. When the time comes when it's cheap to have a terabyte of ram, Im sure they will increase the address space. This time it's not a hack though

  10. Re:Crap article. by FyRE666 · · Score: 4, Interesting

    If you'd actually READ the article (and understood it) you'd see the author was differentiating between the adressable range and the number of bits that could be stored in an address. Obviously the old 8 bit CPUs used to combine registers (eg, the Z80 had the IX and IY if I remember correctly - probably not as it was so long ago!) - if they didn't they'd have 256 bytes of RAM! The old segmented address space of the x86 was just bizarre, due to the way the segment registers were used. The segment register was 16 bit, even though you only needed the top 4 bits, so you could access the same address space in thousands of ways, but were confined to a "window" of 64K in any segment ;-)

  11. Why NOT? by gspr · · Score: 3, Insightful

    "Why not do it?" is usually a bad question, but in this particular case, I think it's a good one. If there is no performance penalty when running in Legacy Mode, and if the Hammer is going to be cheap (read: reasonably priced compared to the P4), why NOT buy it?
    It doesn't hurt, and it prepares you for the future, a future that will come, now or later. This way there'll at least be a chicken... then we can just wait for the eggs to appear. It's foolish to think that any eggs will appear before the chickens do. Afterall, the only place you can get a chicken from before there are eggs, is from AMD's chicken replication facility.

  12. Possible x86-64SX by zubernerd · · Score: 2, Interesting

    I remember when I got my first 386 based computer, it was a 386SX (40 MHz - by AMD); which used a 16-bit data bus on the "outside" and 32-bit internally. Do any of you think there will be a x86-64SX, that will work on today's 32-bit motherboards, while giving some of the advantages of 64-bit computing?

    --
    Accentuate the positive, don't waste your mod points on the negative.
    1. Re:Possible x86-64SX by Psiren · · Score: 2, Interesting

      Do any of you think there will be a x86-64SX, that will work on today's 32-bit motherboards, while giving some of the advantages of 64-bit computing?

      Nope, what would be the point. Motherboards are not really that expensive, you can pick up a high-end board for less than £100. If you can afford to buy a 64bit CPU, you can afford to buy a board to put it in.

  13. Will Microsoft survive the 64-Bit transition? by RoLi · · Score: 5, Insightful
    The 64-Bit transition comes with a lot things, all bad for Microsoft:

    • For the first time in computing history AMD and Intel no longer see Microsoft as the sole software provider. Both Intel and AMD support Linux from day 1 on their 64-chips. I repeat: That did not happen before. So far, Linux was never available on a chip's introduction.
    • On Operon and Itanium, Linux is available before Windows.
    • In the first 1 or 2 years, 64-chips will be mainly used on servers, where Linux is already strong.
    • To use the additional features/registers, a recompile is neccessary - OSS will use those features right away, while CSS vendors will take quite some time to release a 64-Bit version and will probably want some money for the upgrade.
    • The traditional Windows-on-servers customer is a very conservative market segment not likely to jump on the 64-Bit bandwagon very early.

    To summarize, Microsoft might run into a chicken-and-egg problem on 64-Bits: Nobody runs Windows on 64-Bits because it's not faster -> Nobody makes Win64 software -> Nobody runs Windows on 64-Bits.

    Add into that the fact that Microsoft is traditionally very incompetent and slow when it comes to adopting new architectures and you get the idea.

    I think that Microsoft will lose the majority of their server marketshare and a large chunk of their desktop marketshare during that transition. Simple market inertia will prevent Microsoft to be thrown out of the desktop market, but because of the 64-Bit transition, the Linux desktop market might finally gain critical mass and endanger the Windows domination in the long term.

    1. Re:Will Microsoft survive the 64-Bit transition? by RoLi · · Score: 4, Insightful
      After all, Microsoft HAS developed a version of Windows XP Professional that works on the Itanium CPU in IA-64 mode, for gosh sakes!

      Well, although I have never seen a review about that, never seen a Wintel64 system on sale and don't know what dirty hacks and workarounds are in the package, let's assume that's true.

      Now look at my post again: All the points I made are still valid, the most important one being that Linux is being supported right from the start for the first time.

      I'm sure that Microsoft is right now working a version of Windows XP Home/Professional that works on the AMD Athlon64/Opteron CPU's in x86-64 native mode

      While I'm also sure that they are working on it, I'm not about their ability to ship a working product on time. On the other side, SuSE has already successfully ported Linux to mainframes for IBM (something I don't think MS could do with Windows in a timely manner) and they are now porting Linux to Opteron - or better have already ported it as Beta-systems are already out there. - Where is the Windows-Operon Beta? I don's see it.

      In case you forgot, Microsoft was YEARS late in finally adequately supporting 32-Bit (actually, Intel was already quite angry at MS that their chips were still used in 16-Bit mode almost exclusively for so long). Of course by that time, there was no alternative, so Microsoft got away with their incompetence, but now there is not only an alternative, it is also supported officially by AMD and Intel.

    2. Re:Will Microsoft survive the 64-Bit transition? by cygnusx · · Score: 2, Insightful

      > and a new Windows operating system at Version1.0 quality

      Actually, if you look at the Windows source (from Windows 2000 on), you'll see that most of it is #ifdefs, not a lot of new code. There was a 64-bit transition guide available before Windows 2000 launched. In fact, according to this presentation, they did 56 IA-64 builds a week during the Win2000 development cycle alone. MS has had 3+ years since then to prepare for 64-bit, including Opteron. So most of your points sound a bit silly to me -- if this is v1.0 quality, then so is Linux for the Opteron. The only thing with NT/64bit is that it's been available mostly through special-order and not at dell.com.

      And a small point -- there's no *technical* reason NT can't be ported to all sorts of architectures. In fact, given that you basically have to port the HAL (and recompile the rest), new architectures can be added pretty easily.

  14. 64-Bit: The "Torque" of a Processor? by Spencerian · · Score: 4, Insightful

    I'm not an engineer.

    What I got from this article (well written, BTW) is that 64-bit processors provide more processing power--a concept different from speed. For instance, a Porsche can fly down the highway, but its engine has insufficent power to tow a 5th wheel RV. A Mack truck isn't speedy, but has a strong engine that can tow the heaviest loads up the same speed--more work is performed.

    That would be why Apple's PowerPCs are still in the running, despite their clock slowness. They are falling behind fast as, after a point, speed does matter, in combination with improved processor power in the latest 32-bit Pentiums, and certainly the Xeon. Vector processing, such as Altivec, helps keep Apple competitive with their current chips--just barely. Many in the PC community await AMD's offering while IBM works on blending its POWER chip technology into a 64-bit PowerPC, with Altivec.

    Imagine making the Porsche's engine more powerful but maintaining its speed advantage so it can haul ass as well as tow. Add nitro for extra ooompf (vector processing) and you have a dream machine. That's why it seems that 64-bit apps and processors seem to be such a holy grail.

    That's my take on it. Clarification is always appreciated.

    --
    Vos teneo officium eram periculosus ut vos recipero is.
  15. PPC by Duncan3 · · Score: 5, Insightful

    "Should Apple move from 32-bit PPC to 64-bit PPC, Mac users should not expect the same kinds of performance gains that x86 software sees from the jump to x86-64. 64-bit PPC gives you larger integers and more memory, and that's about it. There are no extra registers, no cleaned up addressing scheme, etc."

    Well yea, they already have more then 0 general purpose registers, and a flat memory space, like every other chip besides x86 has had for the last 20 years now. The embedded chips I've used on projects that cost $7 a piece even have more registers then x86 does.

    64bit is about the memory, and using that memory, plain and simple. x86 just happens to be using this as a chance to catch up with the cutting edge concepts of the 1980s.

    As for x86 needs to die once and for all, it's hacked, hacked again, and hacked yet again. x86 was and is a 16bit system. And now AMD wants to hack it yet again. Can anyone doubt that 80% of the silicon is for supporting legacy apps at this point? Are people that damn lazy they can't type 'make' on a new system? It's not like anyone uses "int" anymore and assumes it's N bits long.

    --
    - Adam L. Beberg - The Cosm Project - http://www.mithral.com/
    1. Re:PPC by arthas · · Score: 2, Interesting

      I agree. X86 should be dead by now. Why can't Intel or AMD build something like Alpha? It is very clean and efficient 64-bit architechture and it has been around from 1992.

    2. Re:PPC by pjl5602 · · Score: 3, Insightful
      As for x86 needs to die once and for all, it's hacked, hacked again, and hacked yet again. x86 was and is a 16bit system. And now AMD wants to hack it yet again. Can anyone doubt that 80% of the silicon is for supporting legacy apps at this point? Are people that damn lazy they can't type 'make' on a new system? It's not like anyone uses "int" anymore and assumes it's N bits long.

      Legacy X86 is dying. But really, how much die space does the 386 real mode take up? A few hundred thousand transistors? That's nothing these days so it's worth keeping it around even if only 0.001% of your customers make use of it simply from a marketing perspective.

      Then, from the article:
      When AMD's engineers started looking for legacy x86 features to jettison, the first thing to go was the segmented memory model. Programs written to the x86-64 ISA will use a flat, 64-bit virtual address space. Furthermore, legacy x86 applications running in long mode's compatibility sub-mode must run in protected mode. Support for real mode and virtual-8086 mode are absent in long mode and available only in legacy mode. This isn't too much of a hassle, though, since, except for a few fairly old legacy applications, modern x86 apps use protected mode.

      So the X86-64 mode will be fairly cruft free.

      Pat

  16. TCPA (was Re:64 bit chips R cool . . . by ultrabot · · Score: 3, Insightful

    but I'll be buying them if and only if they don't include TCPA/Palladium/Trusted PC Platform/Name of lockdown scheme of the week.

    I dunno, TCPA seems kinda cool & useful. It doesn't lock down anything, it is basically just a way to encrypt/decrypt data without having the keys on a local file system (i.e. keys are stored on a black-box hardware). Spreading popularity of TCPA might also render Palladium and other DRM methods worthless. TCPA != DRM. Some IBM articles reported on /. a while ago clarified this point quite a bit.

    With TCPA, *you* would hold all the keys (since you can access your own hardware, hopefully), and no centralized entity (*cough* ms *cough*) would have anything to say about it.

    --
    Save your wrists today - switch to Dvorak
    1. Re:TCPA (was Re:64 bit chips R cool . . . by kakos · · Score: 2

      The parent is right. TCPA by itself is harmless. TCPA is simply specifications to develop hardware that handles data securely and executes software securely.

      DRM is a whole other story and is often being confused with TCPA. DRM is bad stuff and WILL let big bad corporations like MS to control what you can do on your box.

  17. Re:Processors like businesses by RoLi · · Score: 3, Interesting
    What will make it collapse? [..] A completely new, simpler software design paradigm?

    Exactly. OpenSource.

    Linux runs on all major and most minor CPU-architectures out there. With Linux rapidly emerging as the standard (just forget about your stupid Winmodem, take a step back, take a deep breath and look at the big picture: *ALL* major chipmakers are supporting Linux from day 1. (IBM, AMD, Intel) Linux runs on everything from mainframes to embedded systems. Microsoft is still dominating the desktop, but on the desktop, there are already several signs of weakness: Linux becoming the standard-OS for 3d-modelling desktops is just one, Linux being adopted by a lot of governements another.), binary-backwards-compatibility will soon become much less important than it used to be and the way will be free for real new, real innovative CPU architectures.

  18. x86 hardware isn't so great by arthas · · Score: 2, Insightful

    A couple of months ago I bought used Digital AlphaServer 2000 5/250. I am running Tru64 5.1B(former Digital Unix) on it. I really like Tru64. It is very reliable, efficient, has great administration tools and excellent documentation.

    The best thing however is that Tru64 and Alpha hardware are very well integrated. OS can detect and configure hardware automatically. It can also (together with the great SRM firmware) monitor various components in case of a (very rare) hardware failure.

    One of the worst things in x86 world is BIOS. It's limitations practically force operating systems not to use its services. On the Alpha however OS can rely on SRM console. This is a very nice thing. Two examples (AlphaServer 2000 has these nice features):
    1. SMP CPU failover: AS2000 tests cpus when it is doing its hardware diagnostics and if it finds a cpu that is broken it simply disables this cpu (provided that there is another cpu to use as the primary cpu).
    2. Memory failover: AS2000 can detect bad pages in RAM and disable them.

    Most x86 systems don't have these features, Alpha and Sun systems have. Linux is not the primary problem here, clumsy x86 hardware is. I have read somewhere that Linux can do something like memory failover (something similar at least), but my point is that the hardware (and BIOS) should do it, not the operating system. X86 would be so much better if BIOS was replaced with OpenFirmware or something similar.

  19. Re:I shouldn't reply to my own posts... by p3d0 · · Score: 3, Informative
    Yep, the extra registers are fantastic. It's about time.

    There's more to this chip than that, too. The HyperTransport bus architecture they have created is very cool. Cheap, fast, and scalable for medium-sized SMP boxes. And 64-bit addressability, despite your assertion, is indeed useful today for servers, which routinely hit the 4GB barrier.

    Backward compatibility is important, not only for existing software, but for existing compilers. Supporting long mode is nearly trivial. Just add the REX prefix in the appropriate places, remove deprecated instructions, support RIP addressing, and implement the ABI. Ok, that sounds like a lot, but compared to IA64 it's a cinch.

    I'm under NDA, so I can't say much more, but I really like this architecture, and I want to get a dual myself for home use.

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  20. Re:What's the Xeon 4Gb memory hack? by bitmason · · Score: 2, Informative

    Since the Pentium Pro, there's been a feature called PAE (Physical Address Extensions) that allow for up to 64GB of memory to be supported on a system. The logical address space is still 4GB (typically 2GB of user space). Essentially there is an additional level of page translation which tends to slow things down somewhere between a lot or a little depending upon the application. It's never been all that popular -- supposedly because the applications that can use a lot of memory (e.g. large databases) tend to fall into the group of applications that slow down quite a bit under stress.

  21. What about tcpa by OeLeWaPpErKe · · Score: 2, Insightful

    Does this chip support tcpa (and thus palladium) ? I think this is a kind of an important detail on the new cpu.

  22. 64bit performance is ... by nimrod_me · · Score: 2, Interesting

    The only good reason to switch to 64-bit computing is *memory*. The 4GB limit is a real problem for modern CAD tools.

    Where I work (a semiconductors company) we use Sparc64 systems exactly for that reason.

    In fact, the CAD tools manufacturers admit that their 64bit versions are *slower* than their 32bit software. The only reason a 64bit version is available is because a lot of customers are hitting the 4GB limit.

    The reasons for the performance loss? Well, 64bit software may address more memory but it also CONSUMES more memory.

    More importantly the processor's cache can now hold only half the data (if the same program is just recomplied its working set of int's is doubled!).

    So for a given processor that have both 32 and 64 bit modes (Sparc, Hammer, PowerPC) the 32 bit mode is preferrable if the application can live with it...

  23. Re:Existing x86 binaries don't mean x86-64 is good by ShieldW0lf · · Score: 2, Insightful

    It does when buying all new hardware is MUCH less expensive than buying all new software.

    If buying a new machine means you need to replace every single piece of software you use, possibly losing access to old data in the process, most ppl are just not going to buy it.

    --
    -1 Uncomfortable Truth
  24. Long mode and vm86 mode? by frohike · · Score: 2, Interesting

    Maybe I missed it somewhere in the article, but I was kind of disturbed by the diagram showing what's possible in what modes. What it looks like they are saying is that in "legacy" mode, you can only run 32-bit code, and you must run a 32-bit OS. And in "long" mode, you must run a 64-bit OS, and v86 mode is not supported at all.

    If a new x86-64 OS that takes advantage of the 64-bit extensions can no longer run v86 code, then this is going to be a serious hamper on adoption! There are still tons of reasons to run 16-bit code, like the BIOS-init in XFree86, DOS emulators, and of course we all know about Windows (though that is changing mostly with the adoption of NT as a home platform). I mean over time things are going to support 32-bit/64-bit code more and more (in the bios and such) but I thought the compatability was the whole point here...

    Is this going to require some sort of trick like IBM used on the 286 with OS/2?* Can someone in the know post about this?

    * Back when the 286 was brand spanking new and IBM was developing OS/2, they of course wanted to use the new protected mode. Only problem was, Intel didn't build in a way to switch out of protected mode! So if they wanted to run an old fashioned 8086 task (or any 8086 code) they ended up doing something that was described by the developers as "turning off the engine at 60mph" -- they'd actually completely reset the CPU and put in some glue to make it jump back into the OS image instead of the BIOS. Which is how it exited 286 protected mode :)

  25. Intel's absurd plan for 64-bit by Lank · · Score: 2, Interesting

    When I was an intern at Intel (summer 2000), I attended a small presentation at the end of the summer where they pitched 64-bit computing. One of the questions at the end was when it will be available on the desktop, and the answer, amazingly enough, was that it wouldn't be in the foreseeable future. And I'm just sitting there thinking "Bad move". Because they completely ruled out the geek factor. So I'm glad AMD is there to clean up after Intel's mistakes, and offer us a 64-bit desktop solution.

    --
    Gotta get me one of these!
  26. Key benefit is... by Goonie · · Score: 2, Insightful
    The key benefit of 64-bit architectures is that you can address much more than 4 gigabytes of memory without having to deal with funky segmentation tricks. As servers are running hard up against this barrier, and desktops are not that far off it, *that* is why the impetus for 64-bit processors is happening now.

    Because the machine code *has* to change in the process, you can take the opportunity to redesign your instruction set to make it possible to design faster chips that use it. In AMD's case, they've added some registers and presumably cleaned up the sillier bits of the x86 instruction set. Intel has taken a different tack - they basically decided to wipe the slate clean and start again. As it turns out, they haven't really been able to make their clean-sheet design work very well yet.

    Going to 64-bit code has its costs, also. Code density (the amount of machine code needed to do a task) goes down, so your memory system doesn't work as well. If a crucial bit of your program that fitted in the instruction cache in 32-bit mode doesn't in 64-bit mode, the 64-bit code would run considerably more slowly.

    Speed is not the real issue here. The ability to work with large RAM sizes is.

    --

    Any sufficiently advanced technology is indistinguishable from a rigged demo
    --Andy Finkel (J. Klass?)