jcx’s Standard “New Drive” Procedure

Standard

Don’t forget: This advice is posted with my Standard Disclaimer. Please read that before proceeding.

01. If the drive is not a new sealed retail drive, check SMART values are okay before testing. (smartctl -a /dev/sdX), save to compare later.

02. Run SMART short test (smartctl -t short /dev/sdX)

03. Run SMART conveyance test (if supported) smartctl -t conveyance /dev/sdX

04. Some drives will only update some SMART attributes if offline data collection is enabled. To make sure, turn offline testing every 4 hours with smartctl -o on and then start an offline test (smartctl -t offline /dev/sdX)

05. Verify drive passed all these tests (smartctl -l xselftest,selftest /dev/sdX). Create a second log file for comparison later.

06. Zero the drive with dd (dd if=/dev/zero of=/dev/sdX bs=4M status=progress).

[!] Keep an eye on the drive temperature (if supported) with smartctl -l scttemp the logged historical data will vary between manufacturers. [/!]

07. After ZEROing the drive, it will have reallocated any bad sectors from the factory. Compare the SMART values to the ones you took at the beginning, paying close attention to Pending and/or Reallocated Sectors.

08. Check the drive’s error log (smartctl -l xerror,error /dev/sdX) to see if there are any reports of non-fatal errors which haven’t resulted in a bad sector.

09. Next comes a full write test. You can either use the long test, using badblocks which will perform 4 full read and 4 full write tests. (badblocks -wvsb 4096 /dev/sdX) This can take tens of hours. If you are in a hurry, you can also use a single pass test. (nwipe?)

10. After completion again check the SMART values (smartctl -a /dev/sdX) and compare them to the original readings.

[!] Some drives also support extended device statistics (smartctl -l devstat /dev/sdX) which can show you some non-standard stuff. [/!]

11. If the drive passes these tests without error it will usually be a good drive. The surface has been written and read from several times to ensure there’s no major problems.

12. If you want to stress test the drive mechanism (actuator/heads) you can use fio to perform small reads/writes at random locations across the entire disk surface. Be sure to keep an eye on the temperatures while doing this. If the drive isn’t properly cooled you might run into problems. It is probably reasonable to run this test for around two or three hours.

AcePC T11 Mini PC with Windows 10 CPU Throttling Fix

Standard

I have being trying to fix an issue with Windows 10 on the AcePC T11 Mini PC. It would after a while, only use 33% of its CPU and be limited to 0.48GHz, which made YouTube and other processor intensive tasks really slow.

There are two problems that I encountered on Windows 10. The first was in “Power Options” in the Control Panel there was only the option for Balanced. High Performance and Power Saver were unavailable.

The second problem is the option to disable throttling is not visible by default.

I have created a registry file to allow us access to these options again.

It is recommended to update to the latest version of Windows 10 before applying these fixes, as they might be overwritten by an update.

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"CsEnabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\0cc5b647-c1df-4637-891a-dec35c318583]
"Attributes"=dword:00000002

The first option CsEnabled restores the hidden options in the Power Options section of control panel.
The second change allows us to modify the option “Processor performance core parking min cores”.

Copy the above to a blank notepad file, and save it as “power-fix.reg” making sure to include the quotation marks. Double click the file you have just saved to apply the registry fix and then you should restart your computer.

Then open the start menu and type Control Panel. Then navigate to “Power”. Chose the High Performance option, then click “Change plan settings”, then “Change advanced power settings”.

Navigate to “Processor performance core parking min cores”, under Processor power management, and set this to 100%.

Then finally, “Allow throttle states” to “Off”.

Apply your changes and reboot. Now your system should not be stuck running at the slow speed of 0.48GHz, but run around 1.44GHz to 1.68GHz

New Playlist

Standard

I made a new playlist of songs I currently like.

52 tracks in playlist, average track length: 3:51
Playlist length: 3 hours 20 minutes 46 seconds

Playlist files:

  1. Postal Service, The – Nothing Better (3:46)
  2. Frank Turner – Worse Things Happen At Sea (3:43)
  3. Avril Lavigne – Nobody’s Home (3:32)
  4. Weepies, The – World Spins Madly On (2:39)
  5. Pierre Belmonde – Forever Autumn (3:17)
  6. Icon For Hire – Iodine (2:32)
  7. DHT – Driver’s Seat (2:51)
  8. Jem – Just a Ride (3:20)
  9. Halestorm – Freak Like Me (3:38)
  10. Reuben – Horrorshow (2:58)
  11. Rachel McGoye – Late Night Lover (4:07)
  12. Akon – Never Took The Time (3:57)
  13. Vanessa Carlton – Paint It Black (3:30)
  14. Green Day – Jesus Of Suburbia (9:08)
  15. Ed Sheeran – Drunk (3:19)
  16. Bad Religion – Let Them Eat War (2:57)
  17. Kelly Clarkson – Einstein (2:59)
  18. Tool – 10,000 Days (Wings, Pt. 2) (11:13)
  19. Evanescence – Good Enough (5:31)
  20. Death Cab For Cutie – I Will Follow You Into The Dark (3:09)
  21. +44 – Make You Smile (3:44)
  22. Halestorm – What Sober Couldn’t Say (3:33)
  23. Halestorm – I Like It Heavy (4:55)
  24. Halestorm – Here’s To Us (2:57)
  25. Muse – Uprising (5:02)
  26. Blue Swamp – Jumper On The Line (3:04)
  27. Ed Sheeran – I’m a Mess (4:04)
  28. Newton Faulkner – I Need Something (2:57)
  29. Kelly Clarkson – Since U Been Gone (3:08)
  30. Placebo – You Don’t Care About Us (3:58)
  31. Tom McRae – A Day Like Today (3:48)
  32. Siouxsie And The Banshees – This Wheel’s On Fire (5:42)
  33. Bad Religion – Social Suicide (1:35)
  34. Against Me! – Dead Friend (3:02)
  35. Placebo – Special Needs (5:15)
  36. Seether – Remedy (3:27)
  37. Halestorm – Dear Daughter (4:46)
  38. Bad Religion – God’s Love (2:32)
  39. Ed Sheeran – Small Bump (4:18)
  40. Reuben – Good Luck (3:35)
  41. Android Lust – The Body (5:23)
  42. Icon For Hire – Get Well (2:57)
  43. Ed Sheeran – Little Bird (3:45)
  44. Halestorm – Love Bites (So Do I) (3:11)
  45. Jay Nash – Over You (4:00)
  46. Kelly Clarkson – Behind These Hazel Eyes (3:18)
  47. Fightstar – Unfamiliar Ceilings (4:06)
  48. Placebo – English Summer Rain (4:01)
  49. Jewel – Hands (3:55)
  50. Kelly Clarkson – Miss Independent (3:34)
  51. Against Me! – True Trans Soul Rebel (3:12)
  52. Weepies, The – Nobody Knows Me At All (1:56)