#6124 closed enhancement (fixed)
AboutSystem reports RAM lower than actual
Reported by: | dru_ed | Owned by: | axeld |
---|---|---|---|
Priority: | low | Milestone: | R1 |
Component: | System/Boot Loader | Version: | R1/Development |
Keywords: | ram reporting aboutsystem | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
AboutSystem reports 1MB lower than actual RAM installed.
Attachments (1)
Change History (8)
by , 15 years ago
Attachment: | aboutsysramreportingfix.patch added |
---|
comment:1 by , 15 years ago
patch: | 0 → 1 |
---|
comment:3 by , 15 years ago
The problem with this patch is that there is no rounding error, the original calculation is correct (although it should use B_PAGE_SIZE to make it independent of the actual page size).
It seems that the system just reports 1MB less memory than what is physically available. You can open a terminal and type "ps -i" to confirm this.
follow-up: 5 comment:4 by , 15 years ago
Priority: | normal → low |
---|---|
Version: | R1/alpha2 → R1/Development |
ATM the kernel (actually the boot loader already) ignores all memory below 1 MB, as well as very short discontiguous ranges of memory, and memory used by ACPI. It could be argued that those are indeed not available to Haiku. It would be possible to sum up those ignored ranges in the boot loader, pass them to the kernel, and just add them for reporting purposes (probably to both available and used memory).
comment:5 by , 15 years ago
Component: | Applications/AboutSystem → System/Boot Loader |
---|---|
Owner: | changed from | to
Type: | bug → enhancement |
Replying to bonefish:
It would be possible to sum up those ignored ranges in the boot loader, pass them to the kernel, and just add them for reporting purposes (probably to both available and used memory).
IMHO, I would prefer this since the current way of reporting is confusing from a user point of view. I don't think this classifies as a bug though.
comment:6 by , 15 years ago
patch: | 1 → 0 |
---|
comment:7 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixes the rounding error