| ▲ | qudat 15 hours ago | |||||||||||||||||||||||||||||||||||||||||||
Your quote doesn’t help me understand this project at all. What is a BAR let alone a resizable one? Readme just jumps in, which is fine, but I’m not sure why this is on HN or why I should care. | ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | toast0 14 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||
BARs are part of the PCI spec, they're the way for firmware and OS to determine the size of the memory or i/o window the card controls as well as the way for the system firmware (usually) to pick what address range the card should use. In the old days, they were a fixed size. If your GPU has 16 GB of ram and you want to access all of it via memory addresses, you'd need a 16 GB BAR ... but lots of (older) systems wouldn't be able to map in a large BAR because of a lack of address lines (or wahtever), so GPUs had stayed with 256MB for VRAM access because it was compatible. With a smaller BAR than the VRAM, you have to use some sort of windowing / paging setup. Resizable BAR lets the BAR start small so older systems will work, but grow larger with capable systems. Much better than having a jumper to set the BAR to big or small, and you can skip VRAM window management. | ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | pizza234 15 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||
ReBAR stands for "Resizable BAR (Base Address Register)" - it makes the CPU's access window into GPU memory resizable; instead of accessing VRAM in small chunks, the CPU can access much more at once, which can improve performance on some modern GPUs. | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | mathisfun123 15 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||
i literally don't understand how people move through life - do you expect every single link on this site (or any site) to be ELI5 for you specifically? do you not understand that some things require effort/homework on your part? | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||