Jump to content

mikat

Member
  • Posts

    6,405
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    Netherlands
  • Interests
    Computers, Programming (JS, TS, Python, Java, C++, Rust (new)), CS:GO
  • Occupation
    CS @ Uni
  • Member title
    Chromaaah

System

  • CPU
    i7-4790k
  • Motherboard
    MSI Z97 U3+
  • RAM
    4x4 GB DDR3 1600mhz
  • GPU
    MSI GTX 1070ti 8G Aero
  • Case
    Corsair 230T Windowed Orange
  • Storage
    Crucial BX100 250 GB SSD + Generic WD 1 TB HDD
  • PSU
    Cooler master G450M
  • Display(s)
    Dell U2718Q + LG 27UD58
  • Cooling
    Cooler Master Hyper 212 EVO
  • Keyboard
    Gigabyte K83 (Cherry MX Red)
  • Mouse
    Logitech G703
  • Sound
    HyperX Cloud Alpha
  • Operating System
    Windows 10 Pro
  • Laptop
    HP Zbook studio G5

Recent Profile Visitors

9,011 profile views
  1. We've decided to go with the ASUS ROG Strix G15 G513RM-HQ166W
  2. Mainly just for knowing stuff about the results from listdir, like knowing if things are directories or not and the size.
  3. You could use os.listdir() and os.stat() if you wanted to do it yourself: https://docs.python.org/3/library/os.html#os.listdir https://docs.python.org/3/library/os.html#os.stat (os.listdir was already in the link sent earlier but you did not reply to that one)
  4. The formatting is off (not a problem atm but it's better to start right), you replaced the response assignments with console.log and the machine is off, your console.log's were not ending up in the paragraph but in the console, and because the machine was off only the first "an error has occured" message was being logged to the console. let response; let score = 75; let machineActive = true; switch (machineActive) { case score <= 0 || score >= 100: response = 'This is not possible, an error has occurred.'; break; case score >= 0 && score <= 19: response = 'That was a terrible score — total fail!'; break; case score >= 20 && score < 39: response = 'You did a passable job, not bad!'; break; case score >= 40 && score < 69: response = 'You did a passable job, not bad!'; break; case score >= 70 && score < 89: response = "That's a great score, you really know your stuff."; break; case score >= 90 && score < 100: response = 'What an amazing score! Did you cheat? Are you for real?'; break; // include as many cases as you like default: response = 'The machine is turned off. Turn it on to process your score.'; } // Don't edit the code below here! section.innerHTML = ' '; let para1 = document.createElement('p'); let para2 = document.createElement('p'); para1.textContent = `Your score is ${ score }.`; para2.textContent = response; section.appendChild(para1); section.appendChild(para2);
  5. That's firmly into XPS 15 price territory, they start at 2250 euros here, 650 euros more than the ROG laptop (if you count them both at 16GB, 1000 euros more expensive if you count them at 32 GB), which he found expensive but still ok if it's really fast. He also doesn't like macs but I suppose if they were the right value I could convince him to get one.
  6. You'll need to add "break" statements after each of your response assignments, as it is doing what you want it to do but then also executing the default statement, setting your response to the default one. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch#what_happens_if_i_forgot_a_break
  7. My dad is looking for a new laptop for photo editing (Adobe Lightroom and Photoshop, his day job) and some video editing on the side (Davinci Resolve 17, more for fun at the moment). His current laptop is a custom one with a 6700HQ and a 950M. He's looking for a laptop with: - 32 GB of ram (davinci requires this, also handy for multiple adobe programs) (I'll upgrade it if it doesn't come with it out of the box) - good performance (compared to the 6700 HQ anything is good but I'd like it to be AMD 5000/6000 or Intel 12th) - A good, color accurate screen. So far I've found these two options: Lenovo IdeaPad 5 Pro 16ACH6 (1299 eur) (https://tweakers.net/pricewatch/1717546/lenovo-ideapad-5-pro-16ach6-82l5009dmh/specificaties/) - Screen only covers 72% of the AdobeRGB color space, kinda bad. ASUS ROG Strix G15 G513RM-HQ166W (1599 eur) (https://tweakers.net/pricewatch/1793862/asus-rog-strix-g15-g513rm-hq166w/specificaties/) - Only has 1x16GB so we'll be buying another stick of 4800 MT/s SODIMM DDR5 for 95 euros - Screen covers 100% DCI-P3 so I assume the AdobeRGB coverage is good as well but I cannot find it anywhere. We're in the Netherlands and shopping in euros. Sadly the XPS 15 is out of his budget range but if you find anything similar with less fancy design and a screen like that for less money I'd love to check it out. We're currently mainly looking at the Asus because of the nicer screen. Any recommendations?
  8. I didn't want to change it, I wanted to report on anything that might be going on with the machine as I was doing performance testing and wanted to make sure my results weren't going to be hampered by slower memory.
  9. I don't have that option, it's a remote machine owned by the university
  10. I thought the same thing: but it really does specify the speed in mega transfers per second, not mega hertz, which is supposed to have the doubling already included in the number. When I saw this I looked online for other people's output of the same command and almost nobody was getting lower configured speeds than normal speed, for most people it's their actual MT/s. Link to others using this command: https://www.linuxquestions.org/questions/linux-hardware-18/mixing-ram-size-and-speeds-faster-than-max-cpu-specs-speed-4175667218/
  11. Hi everyone, I'm doing research and for this my university provided me access to a machine with the specs below over SSH, I got my friend with root access to run a command to get the memory specifications but the results were not quite what I expected, it shows the memory running at 1200 MT/s which is not ideal for performance. It is running in quad channel so that's a bonus but it should be running in quad channel 2400 MT/s right? If anyone has any clue as to what might be wrong with the system or with the command / the way I'm reading it, that would be very helpful. Specs: OS: Ubuntu 20.04.4 LTS x86_64 CPU: AMD Threadripper 1920X Memory: 4x 16GB Kingston 2400 MT/s Diagonistic command and its output: sudo dmidecode --type 17 # dmidecode 3.2 Getting SMBIOS data from sysfs. SMBIOS 3.1.1 present. Handle 0x0010, DMI type 17, 40 bytes Memory Device Array Handle: 0x0008 Error Information Handle: 0x000F Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: Unknown Set: None Locator: DIMM 0 Bank Locator: P0 CHANNEL A Type: Unknown Type Detail: Unknown Speed: Unknown Manufacturer: Unknown Serial Number: Unknown Asset Tag: Not Specified Part Number: Unknown Rank: Unknown Configured Memory Speed: Unknown Minimum Voltage: Unknown Maximum Voltage: Unknown Configured Voltage: Unknown Handle 0x0012, DMI type 17, 40 bytes Memory Device Array Handle: 0x0008 Error Information Handle: 0x0011 Total Width: 64 bits Data Width: 64 bits Size: 16384 MB Form Factor: DIMM Set: None Locator: DIMM 1 Bank Locator: P0 CHANNEL A Type: DDR4 Type Detail: Synchronous Unbuffered (Unregistered) Speed: 2400 MT/s Manufacturer: Kingston Serial Number: 0D2BE10D Asset Tag: Not Specified Part Number: KHX2400C15/16G Rank: 2 Configured Memory Speed: 1200 MT/s Minimum Voltage: 1.2 V Maximum Voltage: 1.2 V Configured Voltage: 1.2 V Handle 0x0015, DMI type 17, 40 bytes Memory Device Array Handle: 0x0008 Error Information Handle: 0x0014 Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: Unknown Set: None Locator: DIMM 0 Bank Locator: P0 CHANNEL B Type: Unknown Type Detail: Unknown Speed: Unknown Manufacturer: Unknown Serial Number: Unknown Asset Tag: Not Specified Part Number: Unknown Rank: Unknown Configured Memory Speed: Unknown Minimum Voltage: Unknown Maximum Voltage: Unknown Configured Voltage: Unknown Handle 0x0017, DMI type 17, 40 bytes Memory Device Array Handle: 0x0008 Error Information Handle: 0x0016 Total Width: 64 bits Data Width: 64 bits Size: 16384 MB Form Factor: DIMM Set: None Locator: DIMM 1 Bank Locator: P0 CHANNEL B Type: DDR4 Type Detail: Synchronous Unbuffered (Unregistered) Speed: 2400 MT/s Manufacturer: Kingston Serial Number: 512AA5EC Asset Tag: Not Specified Part Number: KHX2400C15/16G Rank: 2 Configured Memory Speed: 1200 MT/s Minimum Voltage: 1.2 V Maximum Voltage: 1.2 V Configured Voltage: 1.2 V Handle 0x001A, DMI type 17, 40 bytes Memory Device Array Handle: 0x0008 Error Information Handle: 0x0019 Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: Unknown Set: None Locator: DIMM 0 Bank Locator: P0 CHANNEL C Type: Unknown Type Detail: Unknown Speed: Unknown Manufacturer: Unknown Serial Number: Unknown Asset Tag: Not Specified Part Number: Unknown Rank: Unknown Configured Memory Speed: Unknown Minimum Voltage: Unknown Maximum Voltage: Unknown Configured Voltage: Unknown Handle 0x001C, DMI type 17, 40 bytes Memory Device Array Handle: 0x0008 Error Information Handle: 0x001B Total Width: 64 bits Data Width: 64 bits Size: 16384 MB Form Factor: DIMM Set: None Locator: DIMM 1 Bank Locator: P0 CHANNEL C Type: DDR4 Type Detail: Synchronous Unbuffered (Unregistered) Speed: 2400 MT/s Manufacturer: Kingston Serial Number: 102BDE0D Asset Tag: Not Specified Part Number: KHX2400C15/16G Rank: 2 Configured Memory Speed: 1200 MT/s Minimum Voltage: 1.2 V Maximum Voltage: 1.2 V Configured Voltage: 1.2 V Handle 0x001F, DMI type 17, 40 bytes Memory Device Array Handle: 0x0008 Error Information Handle: 0x001E Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: Unknown Set: None Locator: DIMM 0 Bank Locator: P0 CHANNEL D Type: Unknown Type Detail: Unknown Speed: Unknown Manufacturer: Unknown Serial Number: Unknown Asset Tag: Not Specified Part Number: Unknown Rank: Unknown Configured Memory Speed: Unknown Minimum Voltage: Unknown Maximum Voltage: Unknown Configured Voltage: Unknown Handle 0x0021, DMI type 17, 40 bytes Memory Device Array Handle: 0x0008 Error Information Handle: 0x0020 Total Width: 64 bits Data Width: 64 bits Size: 16384 MB Form Factor: DIMM Set: None Locator: DIMM 1 Bank Locator: P0 CHANNEL D Type: DDR4 Type Detail: Synchronous Unbuffered (Unregistered) Speed: 2400 MT/s Manufacturer: Kingston Serial Number: 522AA5EC Asset Tag: Not Specified Part Number: KHX2400C15/16G Rank: 2 Configured Memory Speed: 1200 MT/s Minimum Voltage: 1.2 V Maximum Voltage: 1.2 V Configured Voltage: 1.2 V
  12. Oh yeah that's it, using `grep "MHz" /proc/cpuinfo` I can see it is working, thank you Didn't realize linux handled this differently than windows, very used to just using windows task manager. Every 0,2s: grep "MHz" /proc/cpuinfo cpu MHz : 2163.245 cpu MHz : 2164.101 cpu MHz : 2119.335 cpu MHz : 3941.924 <-- my program :) cpu MHz : 2083.296 cpu MHz : 2068.435 cpu MHz : 2167.127 cpu MHz : 2150.844 cpu MHz : 2164.694 cpu MHz : 2164.620 cpu MHz : 2173.278 cpu MHz : 2162.330 cpu MHz : 2147.448 cpu MHz : 2469.906 cpu MHz : 2156.120 cpu MHz : 3777.464 cpu MHz : 2074.508 cpu MHz : 2096.003 cpu MHz : 2162.750 cpu MHz : 2151.859 cpu MHz : 2168.285 cpu MHz : 2174.605 cpu MHz : 2167.663 cpu MHz : 2166.842
  13. Hi everyone, I'm doing research and the machine my university provided is one with a 1920X, I'm now doing performance benchmarking and watching the clock speed of the CPU to see I'm getting good results, in all core (in my case 20/24 threads) workloads it turbos to 3.5-3.7 GHz but running the exact same workload on one or two cores results in the CPU staying at its minimum clock frequency of 2.2 GHz, anyone have any idea why this might be? Normally I'd expect these tasks to turbo the CPU to 3.9 or 4.0 GHz as 4.0 GHz is the advertised boost clock. OS: Ubuntu 20.04.4 LTS x86_64 CPU: AMD Threadripper 1920X This is my setup for watching clock speeds: watch -n 0.2 'lscpu | grep "CPU MHz"' Every 0,2s: lscpu | grep "CPU MHz" CPU MHz: 2156.756
  14. Pretty good solution, but for smaller screens the grid could be improved to 1fr auto 1fr so the middle div isn't always as large as the outer 2 divs
  15. If you leave task manager open while gaming (with the cpu tab set to logical cores, by right clicking on the graph) and look at it afterwards, is your gpu maxed out while gaming? Could you post a screenshot of task manager with like the screenshot below?
×