samsung magician makes wonders

Discussion in 'PC Hardware' started by potjevleesch, Dec 7, 2018.

  1. potjevleesch

    potjevleesch MDL Addicted

    Aug 7, 2010
    877
    73
    30
    My OS is x64 windows 10 pro. I Capture.PNG installed today a brand new Samsung SSD 970 evo of 250 g° capacity, I used Samsung migration tool to clone the existing system partition from the old ssd on to Samsung evo. The heck is that the original system partition weighed roughly 80 g° (with some crap) ... it now weighs 160 on the new ssd :mad:
    What happened ? is there a shadow sub partition ?
    thank you for your help
     
  2. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Jul 26, 2012
    4,071
    4,651
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. pcnavarra

    pcnavarra MDL Senior Member

    Nov 13, 2017
    296
    114
    10
    #3 pcnavarra, Dec 7, 2018
    Last edited: Dec 7, 2018
    Run cleanmgr.exe,..
     
  4. Joe C

    Joe C MDL Guru

    Jan 12, 2012
    3,522
    2,093
    120
    As far as I can recall, Samsung only provisions roughly 10% of the drive (out of the box) but the Magician software does allow you to provision more than that manually.
    What size was your old ssd before you cloned it over to the Samsung drive?
    As suggested clean up your temp internet files and possibly excessive cookies...ect . with cleanmgr.
    If your burning video files, some software will make a copy on your C drive, at least that is the issue I have with Nero and DVD Movie Factory
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. potjevleesch

    potjevleesch MDL Addicted

    Aug 7, 2010
    877
    73
    30
    thank you, it seems to me that overprovisioning is the highly probable culprit. My old ssd is of 120 g° capacity. I do use to clean with ccleaner regularly.
     
  6. Joe C

    Joe C MDL Guru

    Jan 12, 2012
    3,522
    2,093
    120
    You can use Magician to check the size of the over-partitioning space.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. potjevleesch

    potjevleesch MDL Addicted

    Aug 7, 2010
    877
    73
    30
    I read elsewhere that overprovisioning is useless whenever trim is activated which is my case
     
  8. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,979
    340
    It has increased from 80 GB to 146 GB? I think that's nothing to do with over provisioning (OP)...66+ of 256 GiB would be far too much.

    Reasons:

    Magican uses zero extra OP with default settings. You should have been aware when setting it manually....
    Generally when you set extra OP it either decreases directly the total capacity, or you take some away as unassigned space. (Visible at partition scheme).

    AFAIK unassigned space cannot be TRIM'ed, though. (TRIM works within a file system only)
    The advice therefore has to be to assign all the available user space, but to leave back some rest capacity. (No full disk usage). It's like OP but within a FS.


    Most SSDs come with own factory OP.
    That means the total user capacity of physical SSD memory has been decreased already for OP.

    OP is defined by:

    (physical capacity - user capacity) / user capacity.

    OP is an certain amount specified by the manufacturer.

    Some OP is reasoned by the (faulty) conversion of IEC-prefix (binary) to SI-prefix (decimal).

    For instance:
    1 GiB NAND consists of 2^30 physical bytes (1,073,741,824 Byte).

    The manufacturer specifies the size as 1 GB 10^9 (1,000,000,000 Byte), though
    This means there is OP of 7.37% reasoned by (actually faulty GiB=GB) conversion alone.

    (2^30-10^9)/10^9*100%

    That means from GiB to GB you always have an OP of 7.37%. Most articles are talking about those 7 percent OP.
    And people complain about that 'decrease' but do not consider their use for OP.

    Another common relation which is frequently found at specifications of 256 G(i)B SSDs:

    They either come with 250 GB (9.95% OP, yours for instance) or with 240 GB (14.53% OP).

    That's the reason why common OP values are 7.37%, 9.95% or 14.53%.

    To TRIM space it has to be assigned to a partition with a usable file system. OP space cannot be addressed by TRIM, but also contains no active user data.

    TRIM is a command sent to the controller by the OS whereas all the cells (OP plus usable) are managed by the controller firmware itself. (wear leveling, garbage control, bad block management)..
    The OS communicates to the controller by TRIM command which pages are ready to become erased. Without TRIM the controller does not know about and it would waste a lot of time erasing pages as blocks directly on re-write-demand....

    For a common client use you do not need additional OP.
    Factory OP cells are used for garbage control, wear leveling and bad block management....

    Increase of factory OP makes sense there where garbage control, wear leveling and bad block management take a noticeable time. Those processes (TRIM also) take more time because the erase process of NAND happens in erasable blocks and is significantly slower than the r/w operations which are done in pages.

    For instance everywhere where one rewrites / alters a lot of data all the time (e.g. server use).....

    But finally..OP is a sort of psychological value only.

    When you relate the amount of total TB written to a lower usable capacity then those cells seemingly have a better wear. But that's actually an illusion.

    The wear related to total amount of cells is constant and depends on their quality alone.
    The job of a controller is to make use of each block (cell) equally so that they all last a similar time.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. potjevleesch

    potjevleesch MDL Addicted

    Aug 7, 2010
    877
    73
    30
    Thank you Yen this condenses everything I should know for my brand new SSD
     
  10. John Sutherland

    John Sutherland MDL Addicted

    Oct 15, 2014
    867
    1,388
    30
    In my humble opinion, over-provisioning has nothing to do with the problem. The space set aside for over-provisioning is by definition unallocated disk space, meaning it lies outside of any existing disk partition and is left unformatted. What the O.P. originally stated was that the volume of data inside the Windows C:\ system partition somehow grew by 80GB during the cloning process.

    The only possible explanation I can come up with is to ask exactly how the cloning process took place. I'm familiar with using Macrium Reflect, and there are two very different options to clone a disk partition using their software. The first option is referred to as "Intelligent Sector Copy", where Macrium Reflect uses Windows Volume Shadow Service (VSS) to create a disk image. This image only contains the disk sectors that are currently used by Windows, and the rest are ignored. The second option is referred to as "Forensic Data Copy", where VSS is not used and every sector within the disk partition is cloned, whether it contains data that is currently used by the OS or data that has been erased.

    I'm not familiar with Samsung's Data Migration Tool or how it works, but maybe a similar option exists? Or it was overlooked? That might account for 80GB of data literally appearing out of nowhere.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Joe C

    Joe C MDL Guru

    Jan 12, 2012
    3,522
    2,093
    120
    I agree.... The old ssd was120gb and the new ssd is 250gb and depending on how the clone software was used, would make a difference being seen
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. pcnavarra

    pcnavarra MDL Senior Member

    Nov 13, 2017
    296
    114
    10
    #12 pcnavarra, Dec 11, 2018
    Last edited: Dec 11, 2018
    I always run cleanmgr.exe before cloning the drive, afterwards i run the whatever clone software from a Winpe boot usb ThumbDrive or in the old days from DOS diskette without previous running cleanmgr.exe "lol quite obvious".
     
  13. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,979
    340
    #13 Yen, Dec 12, 2018
    Last edited: Dec 12, 2018
    When I bought my new EVO 860 1TB I also wanted to use Magican to clone two data partitions. For some reasons it only let me choose the system partition to clone.

    I decided to copy and paste all the files by explorer. That can be done because it's data only. By doing that I copied file by file and no raw data or sectors. Each of those files is copied and pasted so I know that all them are still intact.

    I wonder how Magican handles dynamic system files such as pagefile.sys and hiberfil.sys. To clone those would be actually useless....
    I myself make a clean installation when I change the system drive. I usually tie this event with an OS upgrade.

    BTW: The factory reserved cells (OP) are reserved by the controller firmware and do not appear anywhere as unallocated space.

    In fact those blocks (cells) are reallocated on demand by the controller. It's a dynamic process. Means the identity of the OP cells is changing during operation. Their quantity is constant and 'unusable', though.
    To get them TRIM'ed by the OS they have to be a part of a file system which they should become, sooner or later.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. pcnavarra

    pcnavarra MDL Senior Member

    Nov 13, 2017
    296
    114
    10
    #14 pcnavarra, Dec 12, 2018
    Last edited: Dec 12, 2018
    btw a boot time defrag after running cleanmgr.exe for HD and
    defrag /C /O for SSD
    makes the result of the cloning process better in my opinion.
     
  15. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,979
    340
    I am strictly against using defrag for SSD.

    - M$ defrag reorganizes occupied space different to the controller's proprietary algo!
    - defrag creates useless wear
    - the controller continues doing its work either way and the work of defrag gets obsolete. By that there is even more wear created.

    The pro is the SSDs firmware/controller not M$'s generic defrag tool.

    What I notice after I have made a clean installation is that the SSD is slower first.....
    After a few reboots and idle time frames the controller did its job and the boot time decreases.

    After cloning a system just give it some time....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. pcnavarra

    pcnavarra MDL Senior Member

    Nov 13, 2017
    296
    114
    10
    A Re-Trim on a SSD to reclaim some space by defrag /C /O won´t hurt at all in my opinion.
     
  17. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,979
    340
    #17 Yen, Dec 13, 2018
    Last edited: Dec 13, 2018
    It does not hurt at first sight, but it's contra-productive since the measure like wear leveling and garbage collect are opposed to defrag.

    - To compensate wear and to fragment data is actually the same. To de-fragment is opposed to proper wear leveling. To make the same use of each cell you have to take care that data will be fragmented on those cells which have least of all wear yet. They are never in a row...organizing clusters in a row makes absolutely no sense on SSDs = non (moving) physical disks.

    - Defrag cannot determine which are the erasable blocks of the particular SSD. Garbage collect tries to sum up many blocks which are partly occupied to fewer of fully occupied blocks.
    Only full blocks can be erased (at once)...

    TRIM reports ready to be erased, but garbage collect then has to reorganize cells to fully erasable blocks...congruent to the EBS grid.
    If defrag has put them in a row first and there comes the request to become deleted, garbage control has to reorganize them to erasable blocks.
    That's useless extra work...

    Well, SSD manufacturers do not talk about their own algos for wear leveling and garbage control.
    Therefore the probability that a generic tool such as M$ defrag should be supportive to any SSD is near zero...

    People should know that a SSD has an own firmware that is best for own maintenance.
    HDDs don't have that....and there are real physical distances for the r/w heads which are optimized when one puts clusters in a row when using defrag...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. potjevleesch

    potjevleesch MDL Addicted

    Aug 7, 2010
    877
    73
    30
    the Samsung litterature recommands to defrag right after install...
     
  19. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Jul 26, 2012
    4,071
    4,651
    150
    @potjevleesch: I was taught that you -never- try to defrag an SSD.

    but if Samsung recommends it, I guess you can give it a try.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Joe C

    Joe C MDL Guru

    Jan 12, 2012
    3,522
    2,093
    120
    #20 Joe C, Dec 13, 2018
    Last edited: Dec 13, 2018
    No. do not defrag your ssd. It does not need it. If you feel the need to do anything, then you can run the Trim command or just use Magician software to "Optimize" the drive.
    SSD drives do not get fragmented like platter drives so there is no reason to use it except to shorten the life of the ssd. If your doing a clone then you could defrag the platter drive before you clone it to the ssd
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...