Hi all,

sorry if I seem a bit overcautious, but I feel I'm lost in the 
cylinder-sector-block conversion-thingy... :)

I bought two Vertex 2 SSD's (I compile a big software regularly, and thought 
I'd speed up the process a bit).
First question: if I understand correctly, zfs (not ZIL!) is not the best 
option for SSD's, because of copy-on-write. Am I right here?
Another thing is TRIM, that (according to bug 6866610) is available since 
nv_146, so OpenIndiana (147) should have it.
Question 2: How do TRIM and ZFS's copy-on-write play together?

So I thought I'd be better off with UFS, and installed OI on another hdd (since 
Osol/OI install on zfs). I installed Win7 too on one ssd, and put Win's swap on 
the other one.
Win7 properly aligned the partitions, that's fine. I created the other fdisk 
partitions with gparted, and verified that they are aligned too, on both SSD's.
I know that if I give the whole disk to ZFS than alignment is not a problem. 
But it's not the case here.

My concern is the slice-layout.

Could somebody please take a look at it and say it's okay, or not.
(Please find the data at the end of the message)

I ask, because I found the following description on wikis.sun.com:
http://wikis.sun.com/display/Performance/How+to+4k+Align+Flash+on+Solaris+x86
and
http://wikis.sun.com/pages/viewpage.action?pageId=186241353

...and vdbench gives me around 16k IOPS and ~57MB random 4k writes, while the 
drives themselves should be capable of more than that. (no, I'm _not_ 
benchmark-tied :), but gave that a try, and the results are suspicious...)
The HW is a Q6600 CPU, an Intel 975x chipset (Asus P5W64 WS Pro 975X Express), 
ICH7, 8GB DDR2.
I am not sure if it's a hardware limitation (ICH7 maybe?), or the not-correctly 
aligned slice layout is the cause?

I began slice 0 on cylinder 7, because 16065*8 is the smallest number that is 
divisible by 8, and the first cylinder is 0. This is the place where I'm not 
sure...

Thank you very much for taking the the and reading this! - Any hints, tips, 
trick would be appreciated :)

====================

Now comes the technical part, with some data.

________________________________
SSD1
________________________________
The fdisk table looks like this:

             Total disk size is 7297 cylinders
             Cylinder size is 16065 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    IFS: NTFS         0    12      13      0
          2                 IFS: NTFS        12  3262    3251     45
          3                 Solaris2       3263  6526    3264     45

gparted says (in sectors; start sec - end sec):
fdisk partition 1: 2048 - 206 847
fdisk partition 2: 206 848 - 52 430 847
fdisk partition 3: 52 430 848 - 104 859 647

and the slice layout is as follows:

partition> pri
Current partition table (original):
Total disk cylinders available: 3261 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       8 - 3260       24.92GB    (3253/0/0) 52259445
  1 unassigned    wm       0               0         (0/0/0)           0
  2     backup    wu       0 - 3260       24.98GB    (3261/0/0) 52387965
  3 unassigned    wm       0               0         (0/0/0)           0
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7 unassigned    wm       0               0         (0/0/0)           0
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 alternates    wm       1 -    2       15.69MB    (2/0/0)       32130

________________________________
SSD2
________________________________

             Total disk size is 7297 cylinders
             Cylinder size is 16065 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    IFS: NTFS         0  1174    1175     16
          2                 Solaris2       1175  6527    5353     73

gparted says (in sectors; start sec - end sec):
fdisk partition 1: 2048 - 18 876 415
fdisk partition 2: 18 876 416 - 104 859 647

and the slice layout is as follows:

partition> pri
Current partition table (original):
Total disk cylinders available: 5350 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       7 - 1182        9.01GB    (1176/0/0) 18892440
  1 unassigned    wm    1183 - 5348       31.91GB    (4166/0/0) 66926790
  2     backup    wu       0 - 5349       40.98GB    (5350/0/0) 85947750
  3 unassigned    wm       0               0         (0/0/0)           0
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7 unassigned    wm       0               0         (0/0/0)           0
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 alternates    wm       1 -    2       15.69MB    (2/0/0)       32130



ps: I'm manually CC'ing from storage, because though I clicked the CC line, it 
didn't do that...
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to