PhunkyPhil
New Around Here
HI, only just seen the update but I have tested the speed test against both WAN interfaces and it looks to be working as expected and I can see the traffic going out of the correct interface.
Cheers
Cheers
That's fantastic news! Thanks for testing this out, @PhunkyPhil!HI, only just seen the update but I have tested the speed test against both WAN interfaces and it looks to be working as expected and I can see the traffic going out of the correct interface.
Cheers
Thank you for the report... Could you please share the output of this command with me:Dear Mr. @Viktor Jaep,
A few issues for your project (I do not know, if I should post feedback here or on in GitHub <- this seems more reasonable):
Thanks and have a nice day!
- Incorrect double-size Mem Total (RAM) reported on Asus GT-AXE16000
- Use IEC standard unit notation (KiB, MiB, GiB, TiB)
![]()
cat /proc/meminfo
Thank you for the report... Could you please share the output of this command with me:
Code:cat /proc/meminfo
Standard unit notation will be on my list. Thanks!
cat /proc/meminfo
MemTotal: 2049224 kB
MemFree: 77788 kB
MemAvailable: 838008 kB
Buffers: 22940 kB
Cached: 788948 kB
SwapCached: 0 kB
Active: 636520 kB
Inactive: 259104 kB
Active(anon): 93436 kB
Inactive(anon): 568 kB
Active(file): 543084 kB
Inactive(file): 258536 kB
Unevictable: 13668 kB
Mlocked: 13668 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 208 kB
Writeback: 0 kB
AnonPages: 97300 kB
Mapped: 35188 kB
Shmem: 4000 kB
Slab: 363772 kB
SReclaimable: 29732 kB
SUnreclaim: 334040 kB
KernelStack: 3840 kB
PageTables: 3348 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1024612 kB
Committed_AS: 331764 kB
VmallocTotal: 263061440 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
Percpu: 800 kB
CmaTotal: 573440 kB
CmaFree: 3072 kB
Doesn't matter... but I'd prefer here, as this is where you would also be able to get further community support from others who may have run into the same issue.Here it is. Pls advise, where I should put such issues - here or on GitHub? Or cross-reference in both?
Code:cat /proc/meminfo MemTotal: 2049224 kB MemFree: 77788 kB MemAvailable: 838008 kB Buffers: 22940 kB Cached: 788948 kB SwapCached: 0 kB Active: 636520 kB Inactive: 259104 kB Active(anon): 93436 kB Inactive(anon): 568 kB Active(file): 543084 kB Inactive(file): 258536 kB Unevictable: 13668 kB Mlocked: 13668 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 208 kB Writeback: 0 kB AnonPages: 97300 kB Mapped: 35188 kB Shmem: 4000 kB Slab: 363772 kB SReclaimable: 29732 kB SUnreclaim: 334040 kB KernelStack: 3840 kB PageTables: 3348 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1024612 kB Committed_AS: 331764 kB VmallocTotal: 263061440 kB VmallocUsed: 0 kB VmallocChunk: 0 kB Percpu: 800 kB CmaTotal: 573440 kB CmaFree: 3072 kB
So this is why...Dear Mr. @Viktor Jaep,
A few issues for your project (I do not know, if I should post feedback here or on in GitHub <- this seems more reasonable):
Thanks and have a nice day!
- Incorrect double-size Mem Total (RAM) reported on Asus GT-AXE16000
- Use IEC standard unit notation (KiB, MiB, GiB, TiB)
![]()
memtotal=2049224
totalreportedphysmem=$(awk 'BEGIN { printf "%.0f", ('"$memtotal"' / 1000) }')
next_power_of_2=$(awk -v num="$totalreportedphysmem" '
BEGIN {
if (num == 0) {
print 1;
exit;
}
num--;
num = or(num, rshift(num, 1));
num = or(num, rshift(num, 2));
num = or(num, rshift(num, 4));
num = or(num, rshift(num, 8));
num = or(num, rshift(num, 16));
# num = or(num, rshift(num, 32));
num++;
print num;
}
')
echo $next_power_of_2
Doesn't matter... but I'd prefer here, as this is where you would also be able to get further community support from others who may have run into the same issue.
What does your Merlin UI show?
View attachment 71054
So this is why...
Your router is reporting slightly over 2048MiB, so the next value up it goes to is 4096.
Code:memtotal=2049224 totalreportedphysmem=$(awk 'BEGIN { printf "%.0f", ('"$memtotal"' / 1000) }') next_power_of_2=$(awk -v num="$totalreportedphysmem" ' BEGIN { if (num == 0) { print 1; exit; } num--; num = or(num, rshift(num, 1)); num = or(num, rshift(num, 2)); num = or(num, rshift(num, 4)); num = or(num, rshift(num, 8)); num = or(num, rshift(num, 16)); # num = or(num, rshift(num, 32)); num++; print num; } ') echo $next_power_of_2
Guess we'll need to find a workaround... nice.![]()
Yep... this is the problem exactly. My math was using 1000 (for Kilobytes), but I need to make some conversions throughout the code to start using KiB, which would fix all this.Isn't this the same Use IEC standard unit notation (KiB, MiB, GiB, TiB) issue ?
Because:
In reality: 2048*1024=2097152 KiB (real RAM module size, I don't believe that the module is somehow "sawed-off")
anything bellow, like 2097152 kiB - 2049224 (kb/Kib?)=47'928 KiB should be reserved memory as resources for CPU/system/devices...?
Hope Artemis II onboard do not do this sh*t, as in Mars whichever probe imperial=>metric conversion a few decades ago...![]()
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/RTRMON/develop/rtrmon.sh" -o "/jffs/scripts/rtrmon.sh" && chmod 755 "/jffs/scripts/rtrmon.sh"
We use essential cookies to make this site work, and optional cookies to enhance your experience.