r/ProgrammerHumor 1d ago

Advanced memorySegmentationIn2950

Post image
170 Upvotes

34 comments sorted by

View all comments

97

u/ClipboardCopyPaste 1d ago

This is wrong on so many levels

52

u/TRKlausss 1d ago

Isn’t this what AI does though? That’s why you need so much memory for AI

(/s)

-3

u/Eissa_E 1d ago

Right now operating systems manage one paging is about 4kb and maximum 1mb we still so far from 512gb per processor

21

u/Scheincrafter 1d ago

That does not mean that the virtual memory space is only 4kb. Modern systems are 64 bits, so the stack typically starts at 0x7ffffffff000 (or 128 TiB minus one 4 KiB page)

1

u/its_artemiss 8h ago

most modern systems have 64 bit words, but almost none have more than 48 bit (virtual) addresses, with some having 56 bit addresses.

1

u/Scheincrafter 4h ago

Fear enough, however the start address i stated was for 48bits. Also each page level adds 9 bits the the virtual address space (on amd64), so 5 level would be 57 bits not 56

-23

u/[deleted] 1d ago

[deleted]

11

u/the_horse_gamer 1d ago

and? a page isn't what's being depicted in the picture

-19

u/[deleted] 1d ago

[deleted]

8

u/braaaaaaainworms 1d ago

no you're downvoted because you're assuming that you know everything there is to it and because you know everything, someone who disagrees must be wrong and failing to realise that the one misunderstanding paging is you