The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

OT: specifically a >4 GiB excel file. by raptor_872008-09-15 19:12:57
  Only 4GiB? by Intrinsic2008-09-15 19:16:42
    No, >4GiB. Significant greater-than symbol. by fudje2008-09-15 19:25:51
      Actually by default on windows each process has a by Intrinsic2008-09-15 20:41:04
        That's called "VM split" by hobbs 2008-09-15 22:00:07
the "traditional" option in both windows and linux on 32-bit is 2GB "user", 2GB kernel, meaning that a given user process can only have 2GB mapped at a time. If you have sufficient RAM and/or backing store, you can have lots of processes each with a different 2GB, but each process only gets 2GB of virtual memory space to play with.

In Windows with /3GB or Linux with CONFIG_3GB, the split is 3GB for userspace, 1GB for kernel. This does pretty much what you'd expect. The kernel has a tighter memory constraint to work under, but each application process can now map 3GB instead of 2GB. Useful for databases, sometimes.

On Linux specifically there's also an option to use a "4GB/4GB split", which allows each process to use essentially the whole possible VM and give the kernel its own 4GB. Obviously there's some trickery involved in this; processes and the kernel each have their own completely separate set of mappings, and the mappings have to be reset every time we enter or exit the kernel. Plus copy-to/from-user operations get more messy. Obviously the upshot of all that is significant overhead... but there are some people with crazy applications where the advantages of being able to keep a 33% larger working set outweigh the disadvantage of making everything else slower.

[ Reply ]
          There is no CONFIG_3GB. by bwkaz2008-09-15 22:28:29
            There isn't anymore, you're right. by hobbs2008-09-15 22:37:06

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)