Results 1 to 9 of 9
  1. #1
    Star Lounger
    Join Date
    Dec 2009
    Location
    Philadelphia
    Posts
    94
    Thanks
    2
    Thanked 2 Times in 2 Posts

    SSD Partition Alignment

    Just installed a 250GB SSD. I do not plan to partition it. Is alignment still required or recommended?

  2. #2
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    Delaware, US
    Posts
    1,161
    Thanks
    19
    Thanked 99 Times in 88 Posts
    Does your SSD come with any kind of software? I have a Samsung SSD which comes with a fairly decent tool that lets you tweak it or use one of several preset modes. It takes care of any needed alignment and is likely the best authority.
    Graham Smith
    DataSmith, Delaware
    "For every expert there is an equal and opposite expert.", Arthur C. Clarke (1917 - 2008)

  3. #3
    Star Lounger
    Join Date
    Dec 2009
    Location
    Philadelphia
    Posts
    94
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by gsmith-plm View Post
    Does your SSD come with any kind of software? I have a Samsung SSD which comes with a fairly decent tool that lets you tweak it or use one of several preset modes. It takes care of any needed alignment and is likely the best authority.
    Yes it did. It's a Samsung SSD 850 EVO. I did run the software but didn't see any reference to alignment.

  4. #4
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    Delaware, US
    Posts
    1,161
    Thanks
    19
    Thanked 99 Times in 88 Posts
    Alignment is taken care of when you setup the device using the Samsung software.
    Graham Smith
    DataSmith, Delaware
    "For every expert there is an equal and opposite expert.", Arthur C. Clarke (1917 - 2008)

  5. #5
    Super Moderator satrow's Avatar
    Join Date
    Dec 2009
    Location
    Cardiff, UK
    Posts
    4,486
    Thanks
    284
    Thanked 574 Times in 478 Posts
    Alignment would be taken care of by W10.

  6. #6
    WS Lounge VIP Calimanco's Avatar
    Join Date
    Dec 2009
    Location
    UK
    Posts
    718
    Thanks
    1
    Thanked 144 Times in 130 Posts
    Note that, if cloning a mechanical hard drive to an SSD, alignment is necessary to make sure that the placement of the partitions corresponds to the underlying hardware structure, otherwise you will get a significant drop in performance. Recently released cloning software can, however, do it for you, so ensure you only use the latest version.

  7. #7
    Super Moderator satrow's Avatar
    Join Date
    Dec 2009
    Location
    Cardiff, UK
    Posts
    4,486
    Thanks
    284
    Thanked 574 Times in 478 Posts
    The above should surely read: "alignment might be necessary" then?

  8. #8
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    Delaware, US
    Posts
    1,161
    Thanks
    19
    Thanked 99 Times in 88 Posts
    It's simple enough to check.

    MSINFO.EXE / Components / Storage / Disks / YourSSD / Partition Starting Offset

    If that number is evenly divisible by 4096, then the partition is properly aligned.
    Graham Smith
    DataSmith, Delaware
    "For every expert there is an equal and opposite expert.", Arthur C. Clarke (1917 - 2008)

  9. #9
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    Hey Y'all,

    Here's a little PowerShell program to provide the alignment information on all the attached drives.

    Code:
    <#
    .SYNOPSIS
       Produce information about all partitions on all drives including
       the alignment status.
    
    .DESCRIPTION
       CMsPartitionInfo.ps1 provides information on your drive partitions.
       Including Partition Number, Partition Alignment Status, Partition Size.
    
    .PARAMETER ComputerName
        A single Computer or an array of computer names.
        The default is localhost ($env:COMPUTERNAME).
    
    .OUTPUTS
        Optional output to computer screen
    
    .NOTES
      Computer Mentors Partition Information V1.0
      Programmed by : RetiredGeek @WindowsSecrets.com Lounge
                      aka: The Computer Mentor
    
      Updated: 02/26/16 Initial Coding
    
    .EXAMPLE
        PS C:\>CMsPartitionInfo.ps1
    
    .EXAMPLE
        PS C:\>CMsPartitionInfo.ps1 -CompName "DellXPS8700"
    
    #>
    
    
    Param (	[Parameter(Mandatory=$false, ValueFromPipeline=$true)]
    	[string]$CompName = $env:COMPUTERNAME
    )
    
    $PartFmt = @{Expression={$_.Index};Label="Part`nNo";
                                                 Width=4;Align='right'},
               @{Expression={$_.Alignment};Label="Part`nAlignment";
                                   Width=9;Align='left'},
               @{Expression={ '{0:#,000.00}' -f ($_.Size/1gb)};
                          Label="Partition`nSize/GB";width=9;align='right'}
    
    $Partitions = Get-WmiObject Win32_DiskPartition -ComputerName $CompName |
                  Sort-Object DiskIndex
    
    $Partitions | add-member -NotePropertyName Alignment `
                             -NotePropertyValue ""
    
    ForEach ($part in $Partitions) {
          $Part.Alignment = (&{IF ($Part.StartingOffset % 4096 -eq 0) {"Aligned"} 
                                     else {"UnAligned"}}) 
    }
      
     Clear-Host
     "Disk Partition Information for $CompName"                               
     Format-Table -InputObject $Partitions -Property $PartFmt -GroupBy Diskindex
    Results:
    Code:
    Disk Partition Information for DELLXPS8700
    
    
       Diskindex: 0
    
    Part Part      Partition
      No Alignment   Size/GB
    ---- --------- ---------
       0 Aligned      000.49
       1 Aligned      000.04
       2 Aligned      000.48
       3 Aligned      209.81
       4 Aligned      000.44
       5 Aligned      000.34
       6 Aligned      011.85
    
    
       Diskindex: 1
    
    Part Part      Partition
      No Alignment   Size/GB
    ---- --------- ---------
       0 Aligned      024.00
       1 Aligned      441.76
    
    
       Diskindex: 2
    
    Part Part      Partition
      No Alignment   Size/GB
    ---- --------- ---------
       0 Aligned      931.51
    
    
       Diskindex: 7
    
    Part Part      Partition
      No Alignment   Size/GB
    ---- --------- ---------
       0 Aligned      014.91
    HTH
    Last edited by RetiredGeek; 2016-02-26 at 21:45.
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •