Code Monkey home page Code Monkey logo

Comments (3)

misc0110 avatar misc0110 commented on July 28, 2024

In this code there shouldn't be any hardcoded values left.

How is your system configuration: number of CPUs, CPU model, DIMMs, amount of RAM?
The system should be quite to get good results, i.e. no other processes running (especially nothing like audio/video).

from drama.

duesee avatar duesee commented on July 28, 2024

The tests were run on a Lenovo Thinkpad X220 sandy-bridge notebook with Intel Core i5-2540M CPU.
Hyperthreading and all energy-saving features I could find were disabled in the BIOS.

During the test just some basic system-applications were running like gdm -- no audio/video or other user-applications.

The system is equipped with 8GiB of main memory: 2 x 4GiB Samsung DIMMs (M471B5273EB0-CK0).

I started the tests with e.g. taskset 0x1 sudo ./measure -p 0.8 -s 16.

[damian@Lenovo-X220 re]$ sudo dmidecode -t memory
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.6 present.

Handle 0x0005, DMI type 16, 15 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: None
    Maximum Capacity: 16 GB
    Error Information Handle: Not Provided
    Number Of Devices: 2

Handle 0x0006, DMI type 17, 28 bytes
Memory Device
    Array Handle: 0x0005
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 4096 MB
    Form Factor: SODIMM
    Set: None
    Locator: ChannelA-DIMM0
    Bank Locator: BANK 0
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1333 MHz
    Manufacturer: Samsung
    Serial Number: 9791B50C
    Asset Tag: 9876543210
    Part Number: M471B5273EB0-CK0  
    Rank: Unknown

Handle 0x0007, DMI type 17, 28 bytes
Memory Device
    Array Handle: 0x0005
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 4096 MB
    Form Factor: SODIMM
    Set: None
    Locator: ChannelB-DIMM0
    Bank Locator: BANK 2
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1333 MHz
    Manufacturer: Samsung
    Serial Number: 9791B567
    Asset Tag: 9876543210
    Part Number: M471B5273EB0-CK0  
    Rank: Unknown
[damian@Lenovo-X220 re]$ lscpu
Architektur:           x86_64
CPU Operationsmodus:   32-bit, 64-bit
Byte-Reihenfolge:      Little Endian
CPU(s):                2
Liste der Online-CPU(s):0,1
Thread(s) pro Kern:    1
Kern(e) pro Socket:    2
Sockel:                1
NUMA-Knoten:           1
Anbieterkennung:       GenuineIntel
Prozessorfamilie:      6
Modell:                42
Modellname:            Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz
Stepping:              7
CPU MHz:               2600.203
Maximale Taktfrequenz der CPU:3300,0000
Minimale Taktfrequenz der CPU:800,0000
BogoMIPS:              5185.15
Virtualisierung:       VT-x
L1d Cache:             32K
L1i Cache:             32K
L2 Cache:              256K
L3 Cache:              3072K
NUMA-Knoten0 CPU(s):   0,1
Markierungen:          fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt

from drama.

dgruss avatar dgruss commented on July 28, 2024

It would probably require some more tweaking of the parameters to make it work on that machine. Maybe a smaller number of sets and a higher number of measurements.

from drama.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.