-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why it set maxium ram to 32GB not 64GB while i have 64GB installed? #219
Comments
It should have set it to 64 GB if the setting in synoinfo.conf was set to less than 65536 MB. To get the amount of installed memory I originally used I just noticed this line:
but then the script uses The comment should say "DSM 6 as has no dmidecode" What does this command return? |
DS:DiskStation[~]$ dmidecode -t memory | grep -E "[Ss]ize: [0-9]+ [MG]{1}[B]{1}$" /sys/firmware/dmi/tables/smbios_entry_point: Permission denied /dev/mem: Permission denied DS:DiskStation[~]$ sudo su Password: Sorry, try again. Password: DS:DiskStation[/volume1/homes/leonpano]# dmidecode -t memory | grep -E "[Ss]ize: [0-9]+ [MG]{1}[B]{1}$" Size: 1 MB Size: 1 MB |
I see why it said that. It's thinks you only have 1 MB of memory(!) so the script is saying the max_memory setting is already greater than the amount the NAS thinks is installed. 32 GB is the default max_memory setting for a DS2419+ Obviously DSM uses dmidecode to work out how much memory is installed because DSM thinks you only have 1 MB. The specs for the DS2419+ say: Have you tried it with just 1 x 32 GB? |
I tried 1*32GB But htop shows correct size of ram |
And I also don't know why Intel say this cpu support up to 256GB |
Yep. Intel says:
But they don't specify if memory type means dual or single rank, speed, ECC or not. While the Intel Atom C3538 supports 256 GB the DS2429+ chipset may not support more than 32 GB total, with 16 GB per slot. |
If is chipset doesn't support it then I believe it won't boot up at all But is there any fix can be done? |
DS:DiskStation[/volume1/homes/leonpano/Synology_HDD_db]# dmidecode # dmidecode 3.2 Getting SMBIOS data from sysfs. SMBIOS 2.8 present. 34 structures occupying 1652 bytes. Table at 0x784A3000. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: Insyde Version: M.309 Release Date: 2019/11/01 Address: 0xE0000 Runtime Size: 128 kB ROM Size: 8192 kB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported EDD is supported Japanese floppy for NEC 9800 1.2 MB is supported (int 13h) Japanese floppy for Toshiba 1.2 MB is supported (int 13h) 5.25"/360 kB floppy services are supported (int 13h) 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) 8042 keyboard services are supported (int 9h) CGA/mono video services are supported (int 10h) ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 5.4 Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: Synology Inc. Product Name: DS2419+ Version: 1.0 Serial Number: 123456789 UUID: 12345678-1234-5678-90ab-cddeefaabbcc Wake-up Type: Power Switch SKU Number: Type1Sku0 Family: RackStation Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: Type2 - Board Vendor Name1 Product Name: Type2 - Board Product Name1 Version: Type2 - Board Version Serial Number: Type2 - Board Serial Number Asset Tag: Type2 - Board Asset Tag Features: Board is a hosting board Board is replaceable Location In Chassis: Type2 - Board Chassis Location Chassis Handle: 0x0003 Type: Motherboard Contained Object Handles: 0 Handle 0x0003, DMI type 3, 22 bytes Chassis Information Manufacturer: Chassis Manufacturer Type: Other Lock: Not Present Version: Chassis Version Serial Number: Chassis Serial Number Asset Tag: Chassis Asset Tag Boot-up State: Safe Power Supply State: Safe Thermal State: Safe Security Status: None OEM Information: 0x00000000 Height: Unspecified Number Of Power Cords: 1 Contained Elements: 0 SKU Number: SKU Number Handle 0x0004, DMI type 4, 42 bytes Processor Information Socket Designation: CPU0 Type: Central Processor Family: Atom Manufacturer: Intel(R) Corporation ID: F1 06 05 00 FF FB EB BF Signature: Type 0, Family 6, Model 95, Stepping 1 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) DS (Debug store) ACPI (ACPI supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop) HTT (Multi-threading) TM (Thermal monitor supported) PBE (Pending break enabled) Version: Intel(R) Atom(TM) CPU C3538 @ 2.10GHz Voltage: 1.6 V External Clock: 100 MHz Max Speed: 3800 MHz Current Speed: 2100 MHz Status: Populated, Enabled Upgrade: Socket LGA775 L1 Cache Handle: 0x0005 L2 Cache Handle: 0x0006 L3 Cache Handle: Not Provided Serial Number: Not Specified Asset Tag: UNKNOWN Part Number: Not Specified Core Count: 4 Core Enabled: 4 Thread Count: 4 Characteristics: 64-bit capable Multi-Core Hardware Thread Execute Protection Enhanced Virtualization Power/Performance Control Handle 0x0005, DMI type 7, 19 bytes Cache Information Socket Designation: L1-Cache Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 224 kB Maximum Size: 224 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Single-bit ECC System Type: Instruction Associativity: 8-way Set-associative Handle 0x0006, DMI type 7, 19 bytes Cache Information Socket Designation: L2-Cache Configuration: Enabled, Not Socketed, Level 2 Operational Mode: Write Back Location: Internal Installed Size: 4096 kB Maximum Size: 4096 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Single-bit ECC System Type: Unified Associativity: 16-way Set-associative Handle 0x0007, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: EC5 Internal Connector Type: None External Reference Designator: USB External Connector Type: Access Bus (USB) Port Type: USB Handle 0x0008, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: EC6 Internal Connector Type: None External Reference Designator: USB External Connector Type: Access Bus (USB) Port Type: USB Handle 0x0009, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: LAN1 Internal Connector Type: None External Reference Designator: 1G Network External Connector Type: RJ-45 Port Type: Network Port Handle 0x000A, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: LAN1 Internal Connector Type: None External Reference Designator: 1G Network External Connector Type: RJ-45 Port Type: Network Port Handle 0x000B, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: 10GLAN1 Internal Connector Type: None External Reference Designator: 10G Network External Connector Type: RJ-45 Port Type: Network Port Handle 0x000C, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: 10GLAN2 Internal Connector Type: None External Reference Designator: 10G Network External Connector Type: RJ-45 Port Type: Network Port Handle 0x000D, DMI type 9, 17 bytes System Slot Information Designation: J1B2 Type: x8 PCI Express 3 x8 Current Usage: In Use Length: Other ID: 1 Characteristics: PME signal is supported Hot-plug devices are supported Bus Address: 0000:00:09.0 Handle 0x000E, DMI type 9, 17 bytes System Slot Information Designation: J2B1 Type: x4 PCI Express 3 x4 Current Usage: In Use Length: Other ID: 2 Characteristics: PME signal is supported Hot-plug devices are supported Bus Address: 0000:00:0e.0 Handle 0x000F, DMI type 9, 17 bytes System Slot Information Designation: J3B1 Type: x4 PCI Express 3 x4 Current Usage: In Use Length: Other ID: 3 Characteristics: PME signal is supported Hot-plug devices are supported Bus Address: 0000:00:10.0 Handle 0x0010, DMI type 11, 5 bytes OEM Strings String 1: OemString1 String 2: OemString2 String 3: OemString3 Handle 0x0011, DMI type 12, 5 bytes System Configuration Options Option 1: ConfigOptions1 Option 2: ConfigOptions2 Option 3: ConfigOptions3 Handle 0x0012, DMI type 13, 22 bytes BIOS Language Information Language Description Format: Long Installable Languages: 4 en|US|iso8859-1,0 fr|CA|iso8859-1,0 zh|TW|unicode,0 ja|JP|unicode,0 Currently Installed Language: en|US|iso8859-1,0 Handle 0x0013, DMI type 15, 29 bytes System Event Log Area Length: 0 bytes Header Start Offset: 0x0000 Header Length: 8192 bytes Data Start Offset: 0x2000 Access Method: General-purpose non-volatile data functions Access Address: 0x0000 Status: Valid, Not Full Change Token: 0x12345678 Header Format: OEM-specific Supported Log Type Descriptors: 3 Descriptor 1: POST memory resize Data Format 1: None Descriptor 2: POST error Data Format 2: POST results bitmap Descriptor 3: Log area reset/cleared Data Format 3: None Handle 0x0014, DMI type 16, 23 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: Single-bit ECC Maximum Capacity: 32 GB Error Information Handle: No Error Number Of Devices: 2 Handle 0x0015, DMI type 17, 40 bytes Memory Device Array Handle: 0x0014 Error Information Handle: No Error Total Width: 72 bits Data Width: 64 bits Size: 1 MB Form Factor: SODIMM Set: None Locator: DIMM0 Bank Locator: BANK 1 Type: DDR4 Type Detail: Synchronous Speed: 3200 MT/s Manufacturer: Micron Serial Number: 37E8369C Asset Tag: 01 Part Number: 18ASF4G72HZ-3G2B2 Rank: 2 Configured Memory Speed: 2133 MT/s Minimum Voltage: 1.2 V Maximum Voltage: 1.2 V Configured Voltage: 1.2 V Handle 0x0016, DMI type 17, 40 bytes Memory Device Array Handle: 0x0014 Error Information Handle: No Error Total Width: 72 bits Data Width: 64 bits Size: 1 MB Form Factor: SODIMM Set: None Locator: DIMM1 Bank Locator: BANK 0 Type: DDR4 Type Detail: Synchronous Speed: 3200 MT/s Manufacturer: Micron Serial Number: 37E81EA1 Asset Tag: 02 Part Number: 18ASF4G72HZ-3G2B2 Rank: 2 Configured Memory Speed: 2133 MT/s Minimum Voltage: 1.2 V Maximum Voltage: 1.2 V Configured Voltage: 1.2 V Handle 0x0017, DMI type 19, 31 bytes Memory Array Mapped Address Starting Address: 0x00000000000 Ending Address: 0x00FFFFFFFFF Range Size: 64 GB Physical Array Handle: 0x0014 Partition Width: 2 Handle 0x0018, DMI type 20, 35 bytes Memory Device Mapped Address Starting Address: 0x00000000000 Ending Address: 0x007FFFFFFFF Range Size: 32 GB Physical Device Handle: 0x0015 Memory Array Mapped Address Handle: 0x0017 Partition Row Position: Unknown Handle 0x0019, DMI type 20, 35 bytes Memory Device Mapped Address Starting Address: 0x00800000000 Ending Address: 0x00FFFFFFFFF Range Size: 32 GB Physical Device Handle: 0x0016 Memory Array Mapped Address Handle: 0x0017 Partition Row Position: Unknown Handle 0x001A, DMI type 32, 11 bytes System Boot Information Status: No errors detected Handle 0x001B, DMI type 39, 22 bytes System Power Supply Location: OEM Define 0 Name: OEM Define 1 Manufacturer: OEM Define 2 Serial Number: OEM Define 3 Asset Tag: OEM Define 4 Model Part Number: OEM Define 5 Revision: OEM Define 6 Max Power Capacity: 75 W Status: Not Present Type: Regulator Input Voltage Range Switching: Auto-switch Plugged: No Hot Replaceable: No Handle 0x001C, DMI type 40, 17 bytes Additional Information 1 Referenced Handle: 0x000c Referenced Offset: 0x05 String: PCIExpressx16 Value: 0xaa Additional Information 2 Referenced Handle: 0x0000 Referenced Offset: 0x05 String: Compiler Version: VC 9.0 Value: 0x00 Handle 0x001D, DMI type 128, 8 bytes OEM-specific Type Header and Data: 80 08 1D 00 55 AA 55 AA Strings: Oem Type 128 Test 1 Oem Type 128 Test 2 Handle 0x001E, DMI type 129, 8 bytes OEM-specific Type Header and Data: 81 08 1E 00 01 01 02 01 Strings: Insyde_ASF_001 Insyde_ASF_002 Handle 0x001F, DMI type 130, 20 bytes OEM-specific Type Header and Data: 82 14 1F 00 24 41 4D 54 01 01 01 01 01 A5 1F 02 00 00 00 00 Handle 0x0020, DMI type 136, 6 bytes OEM-specific Type Header and Data: 88 06 20 00 FF FF Handle 0xFEFF, DMI type 127, 4 bytes End Of Table |
DS:DiskStation[/volume1/homes/leonpano/Synology_HDD_db]# cat /proc/meminfo MemTotal: 65821000 kB MemFree: 1532932 kB MemAvailable: 60273456 kB Buffers: 105112 kB Cached: 50251232 kB SwapCached: 126752 kB Active: 11286472 kB Inactive: 41579032 kB Active(anon): 1715528 kB Inactive(anon): 1152780 kB Active(file): 9570944 kB Inactive(file): 40426252 kB Unevictable: 111348 kB Mlocked: 111348 kB SwapTotal: 41590700 kB SwapFree: 41264244 kB Dirty: 1404 kB Writeback: 0 kB AnonPages: 2572272 kB Mapped: 815772 kB Shmem: 277616 kB Slab: 9575892 kB SReclaimable: 9270668 kB SUnreclaim: 305224 kB KernelStack: 36416 kB PageTables: 66884 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 74501200 kB Committed_AS: 17190836 kB VmallocTotal: 34359738367 kB VmallocUsed: 0 kB VmallocChunk: 0 kB DirectMap4k: 10504 kB DirectMap2M: 1957888 kB DirectMap1G: 67108864 kB
The text was updated successfully, but these errors were encountered: