FreeBSD is very slow when Memory chip sizes are imbalanced in slots
Mehmet Erol Sanliturk
m.e.sanliturk at gmail.com
Mon Mar 18 14:45:46 UTC 2013
On Mon, Mar 18, 2013 at 6:26 AM, Nathan Whitehorn <nwhitehorn at freebsd.org>wrote:
> On 03/18/13 07:18, Mehmet Erol Sanliturk wrote:
> > On Mon, Mar 18, 2013 at 4:54 AM, Poul-Henning Kamp <phk at phk.freebsd.dk
> >wrote:
> >
> >> In message <CAFHbX1KkD7fWP+KZNrSjzCStUM_Smjw7GdKDTo=
> >> DjjMoe5ttGA at mail.gmail.com>, Tom Evans writes:
> >>
> >>> You say this, have you actually measured/checked. sysutils/dmidecode
> >>> will interrogate your BIOS and tell us what it thinks is installed in
> >>> each RAM socket. It is not uncommon for RAM to say one thing on the
> >>> outside, and report something completely different to the BIOS.
> >>
> >> I can only second Tom's call for a proper scientific approach to
> >> debugging this issue, rather than just assume that it is the
> >> operating systems fault.
> >>
> >> --
> >> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
> >> phk at FreeBSD.ORG | TCP/IP since RFC 956
> >> FreeBSD committer | BSD since 4.3-tahoe
> >> Never attribute to malice what can adequately be explained by
> incompetence.
> >>
> >
> >
> > I am a graduate of Operations Research and Statistics option of a
> > Mathematics department .
> > All of your considerations are considered . It is so much apparent that ,
> > the cause is FreeBSD .
> >
> > In my previous year message and in its subsequent messages , there are
> > sufficiently detailed information .
> >
> >
> > This message is caused from the following fact :
> >
> > In previous year case , KDE used was a cause , but FluxBox was working
> fast
> > .
> > Now , I have installed 10.0 current . It does not have KDE in packages .
> I
> > have installed FluxBox .
> > It is not a few second slow : Many minutes to start Firefox , and
> activate
> > a menu of it !
> >
> > What is the point of measuring milliseconds when the difference is around
> > many minutes ?
> >
> > PC-BSD installation ( it is a graphical installation after starting X )
> is
> > taking many hours to reach 20 percent completion .
> > The same is for GhostBSD : Start it at night , at the next morning , it
> is
> > likely that it is not finished yet .
> >
> >
> > Then : WQhat will be measured ?
> >
> > Linux installations are around 30 minutes .
> > Starting/Opening menus are instantenous : I do no have chronometer , but
> > everything is within a second .
> >
> >
> > Thank you very much .
>
> The problem is that "slow" doesn't mean anything. An incomplete list of
> things it might be related to:
> 1. Something to do with the way KDE is built (options, system compiler)
> 2. A disk I/O issue
> 3. A memory speed issue
> 4. Some other process using CPU that isn't running on Linux
> 5. A scheduler issue triggered by some property of the machine
>
> Doing some of these smaller tests will help pin down which of these are
> causing the problem. Without that, there's no possibility to even start
> debugging. Even just running top and seeing whether you are spinning in
> a user thread, in the kernel, or waiting while the slow things are
> happening would be extremely helpful.
> -Nathan
> _______________________________________________
> <freebsd-current at freebsd.org>
>
The dmidecode output is attached .
Thank you very much .
Mehmet Erol Sanliturk
-------------- next part --------------
# dmidecode 2.11
SMBIOS 2.4 present.
39 structures occupying 1794 bytes.
Table at 0x000E32F0.
Handle 0x0000, DMI type 4, 35 bytes
Processor Information
Socket Designation: LGA 775
Type: Central Processor
Family: Pentium D
Manufacturer: Intel(R) Corporation
ID: FD 06 00 00 FF FB EB BF
Signature: Type 0, Family 6, Model 15, Stepping 13
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) Pentium(R) Dual CPU E2220 @ 2.40GHz
Voltage: 1.6 V
External Clock: 200 MHz
Max Speed: 4000 MHz
Current Speed: 2400 MHz
Status: Populated, Enabled
Upgrade: Socket LGA775
L1 Cache Handle: 0x0003
L2 Cache Handle: 0x0001
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Handle 0x0001, DMI type 7, 19 bytes
Cache Information
Socket Designation: Unknown
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 1024 kB
Maximum Size: 1024 kB
Supported SRAM Types:
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 4-way Set-associative
Handle 0x0002, DMI type 7, 19 bytes
Cache Information
Socket Designation: Unknown
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32 kB
Maximum Size: 32 kB
Supported SRAM Types:
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Instruction
Associativity: 8-way Set-associative
Handle 0x0003, DMI type 7, 19 bytes
Cache Information
Socket Designation: Unknown
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32 kB
Maximum Size: 32 kB
Supported SRAM Types:
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 8-way Set-associative
Handle 0x0004, DMI type 0, 24 bytes
BIOS Information
Vendor: Intel Corp.
Version: MQ96510J.86A.1705.2007.0902.1850
Release Date: 09/02/2007
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 1024 kB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
BIOS Revision: 0.0
Firmware Revision: 0.0
Handle 0x0005, DMI type 1, 27 bytes
System Information
Manufacturer:
Product Name:
Version:
Serial Number:
UUID: 53B36BBA-8E3E-11DC-911E-000EA68F7252
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
Handle 0x0006, DMI type 2, 20 bytes
Base Board Information
Manufacturer: Intel Corporation
Product Name: DG965WH
Version: AAD41692-310
Serial Number: BQWH745000VG
Asset Tag: Base Board Asset Tag
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Base Board Chassis Location
Chassis Handle: 0x0007
Type: Unknown
Contained Object Handles: 0
Handle 0x0007, DMI type 3, 17 bytes
Chassis Information
Manufacturer:
Type: Desktop
Lock: Not Present
Version:
Serial Number:
Asset Tag:
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Other
Security Status: Other
OEM Information: 0x00000000
Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: PRIMARY
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: SECONDARY
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: ATX_PWR
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x000B, DMI type 9, 13 bytes
System Slot Information
Designation: PCIE X16 SLOT
Type: x16 PCI Express
Current Usage: Available
Length: Short
ID: 11
Characteristics:
3.3 V is provided
Handle 0x000C, DMI type 9, 13 bytes
System Slot Information
Designation: PCIE X1 SLOT 1
Type: x1 PCI Express
Current Usage: Available
Length: Short
ID: 12
Characteristics:
3.3 V is provided
PME signal is supported
SMBus signal is supported
Handle 0x000D, DMI type 9, 13 bytes
System Slot Information
Designation: PCIE X1 SLOT 2
Type: x1 PCI Express
Current Usage: Available
Length: Short
ID: 13
Characteristics:
3.3 V is provided
PME signal is supported
SMBus signal is supported
Handle 0x000E, DMI type 9, 13 bytes
System Slot Information
Designation: PCIE X1 SLOT 3
Type: x1 PCI Express
Current Usage: Available
Length: Short
ID: 14
Characteristics:
3.3 V is provided
PME signal is supported
SMBus signal is supported
Handle 0x000F, DMI type 9, 13 bytes
System Slot Information
Designation: PCI SLOT 1
Type: 32-bit PCI
Current Usage: Available
Length: Long
ID: 1
Characteristics:
3.3 V is provided
PME signal is supported
SMBus signal is supported
Handle 0x0010, DMI type 9, 13 bytes
System Slot Information
Designation: PCI SLOT 2
Type: 32-bit PCI
Current Usage: In Use
Length: Long
ID: 2
Characteristics:
3.3 V is provided
PME signal is supported
SMBus signal is supported
Handle 0x0011, DMI type 9, 13 bytes
System Slot Information
Designation: PCI SLOT 3
Type: 32-bit PCI
Current Usage: Available
Length: Long
ID: 3
Characteristics:
3.3 V is provided
PME signal is supported
SMBus signal is supported
Handle 0x0012, DMI type 10, 6 bytes
On Board Device Information
Type: Video
Status: Enabled
Description: Intel(R) GMA X3000 Video Device
Handle 0x0013, DMI type 10, 6 bytes
On Board Device Information
Type: Ethernet
Status: Enabled
Description: Intel(R) 82566DC Gigabit Ethernet Device
Handle 0x0014, DMI type 10, 6 bytes
On Board Device Information
Type: Sound
Status: Enabled
Description: Intel(R) High Definition Audio Device
Handle 0x0015, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Abbreviated
Installable Languages: 1
enUS
Currently Installed Language: enUS
Handle 0x0016, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected
Handle 0x0017, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 4
Handle 0x0018, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM
Set: None
Locator: J1MY
Bank Locator: CHAN A DIMM 0
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz
Manufacturer: 0x7F98000000000000
Serial Number: 0x9639A579
Asset Tag: Unknown
Part Number: 0x393943353331362D3032362E4130304C4600
Handle 0x0019, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0003FFFFFFF
Range Size: 1 GB
Physical Device Handle: 0x0018
Memory Array Mapped Address Handle: 0x0020
Partition Row Position: 1
Interleave Position: 1
Interleaved Data Depth: 1
Handle 0x001A, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: J2MY
Bank Locator: CHAN A DIMM 1
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz
Manufacturer: 0x7F98000000000000
Serial Number: 0x5715844B
Asset Tag: Unknown
Part Number: 0x32472D5544494D4D00000000000000000000
Handle 0x001B, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00040000000
Ending Address: 0x000BFFFFFFF
Range Size: 2 GB
Physical Device Handle: 0x001A
Memory Array Mapped Address Handle: 0x0020
Partition Row Position: 1
Interleave Position: 1
Interleaved Data Depth: 1
Handle 0x001C, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM
Set: None
Locator: J3MY
Bank Locator: CHAN B DIMM 0
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz
Manufacturer: 0x7F98000000000000
Serial Number: 0x7D3A51A8
Asset Tag: Unknown
Part Number: 0x393943353331362D3032362E4130304C4600
Handle 0x001D, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x000C0000000
Ending Address: 0x000FFFFFFFF
Range Size: 1 GB
Physical Device Handle: 0x001C
Memory Array Mapped Address Handle: 0x0020
Partition Row Position: 2
Interleave Position: 2
Interleaved Data Depth: 1
Handle 0x001E, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: J4MY
Bank Locator: CHAN B DIMM 1
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz
Manufacturer: 0x7F98000000000000
Serial Number: 0xD216B296
Asset Tag: Unknown
Part Number: 0x32472D5544494D4D00000000000000000000
Handle 0x001F, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00100000000
Ending Address: 0x0017FFFFFFF
Range Size: 2 GB
Physical Device Handle: 0x001E
Memory Array Mapped Address Handle: 0x0020
Partition Row Position: 2
Interleave Position: 2
Interleaved Data Depth: 1
Handle 0x0020, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0017FFFFFFF
Range Size: 6 GB
Physical Array Handle: 0x0017
Partition Width: 4
Handle 0x0021, DMI type 187, 9 bytes
OEM-specific Type
Header and Data:
BB 09 21 00 18 00 03 9B 02
Handle 0x0022, DMI type 187, 9 bytes
OEM-specific Type
Header and Data:
BB 09 22 00 1A 00 03 20 03
Handle 0x0023, DMI type 187, 9 bytes
OEM-specific Type
Header and Data:
BB 09 23 00 1C 00 03 9B 02
Handle 0x0024, DMI type 187, 9 bytes
OEM-specific Type
Header and Data:
BB 09 24 00 1E 00 03 20 03
Handle 0x0025, DMI type 136, 6 bytes
OEM-specific Type
Header and Data:
88 06 25 00 5A 5A
Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table
More information about the freebsd-current
mailing list