<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ciao, ho tentato invado di formattare il mio ssd da 120gb per
raggiungere i dati dichiarati dal costruttore.<br>
<br>
Corsair dichiara 500mb/s circa in lettura e scrittura, io ho fatto i
tentativi sotto riportati ma niente da fare, al max sono arrivato a
360 mb/s in lettura. come posso fare ?<br>
<br>
il disco è un Corsair force series 3 120Gb , collegato a duna skeda
madre con controller sata6 , intel i7 970<br>
<br>
ecco le mie prove<br>
<br>
<br>
<a name="bugnotes" id="bugnotes">GPARTED BASED <br>
<br>
xfs 120gb<br>
----------------------<br>
2 mib free<br>
111.79gib<br>
3.46mib<br>
<br>
-----------<br>
<br>
sudo hdparm -t /dev/sdh<br>
<br>
/dev/sdh:<br>
Timing buffered disk reads: 930 MB in 3.01 seconds = 309.42
MB/sec<br>
server@server-System-Product-Name:/media/155d3571-ecd4-46fe-bd94-3277a112081a/cf$
sudo hdparm -t /dev/sdh<br>
<br>
/dev/sdh:<br>
Timing buffered disk reads: 922 MB in 3.00 seconds = 306.99
MB/sec<br>
server@server-System-Product-Name:/media/155d3571-ecd4-46fe-bd94-3277a112081a/cf$
sudo hdparm -t /dev/sdh<br>
<br>
/dev/sdh:<br>
Timing buffered disk reads: 874 MB in 3.00 seconds = 291.03
MB/sec<br>
<br>
---------<br>
<br>
</a><a name="bugnotes" id="bugnotes">sudo fdisk -lu cylinder
/dev/sdh<br>
<br>
Disk /dev/sdh: 120.0 GB, 120034123776 bytes<br>
255 heads, 63 sectors/track, 14593 cylinders, total 234441648
sectors<br>
Units = sectors of 1 * 512 = 512 bytes<br>
Sector size (logical/physical): 512 bytes / 512 bytes<br>
I/O size (minimum/optimal): 512 bytes / 512 bytes<br>
Disk identifier: 0x00038722<br>
<br>
Device Boot Start End Blocks Id System<br>
/dev/sdh1 4096 234434559 117215232 83 Linux<br>
server@server-System-Product-Name:/$</a><a name="bugnotes"
id="bugnotes"><br>
</a><br>
-------------------<br>
<br>
<a name="bugnotes" id="bugnotes">PRIMA PROVA<br>
--------------------<br>
Link: </a><a
href="http://www.ocztechnologyforum.com/forum/showthread.php?77769-A-Simple-How-To-on-Partitioning-and-Alignment-on-GNU-Linux-using-fdisk">http://www.ocztechnologyforum.com/forum/showthread.php?77769-A-Simple-How-To-on-Partitioning-and-Alignment-on-GNU-Linux-using-fdisk</a>
[<a
href="http://www.ocztechnologyforum.com/forum/showthread.php?77769-A-Simple-How-To-on-Partitioning-and-Alignment-on-GNU-Linux-using-fdisk"
target="_blank">^</a>]<br>
<br>
<br>
sudo fdisk -H 32 -S 32 /dev/sdh<br>
p<br>
n<br>
p<br>
1<br>
2048<br>
+232783871<br>
w<br>
<br>
sudo hdparm -t /dev/sdh<br>
<br>
/dev/sdh:<br>
Timing buffered disk reads: 1090 MB in 3.00 seconds = 362.93 MB/sec<br>
server@server-System-Product-Name:/$ sudo hdparm -t /dev/sdh<br>
<br>
----------------<br>
<br>
<a name="bugnotes" id="bugnotes">SECONDA PROVA<br>
--------------------<br>
<br>
sudo fdisk -H 32 -S 32 /dev/sdd<br>
p<br>
n<br>
p<br>
1<br>
4096<br>
+232783871<br>
w<br>
<br>
sudo hdparm -t /dev/sdd<br>
<br>
/dev/sdd:<br>
Timing buffered disk reads: 890 MB in 3.01 seconds = 296.15
MB/sec<br>
server@server-System-Product-Name:~$ sudo hdparm -t /dev/sdd<br>
<br>
--------------<br>
<br>
</a><a name="bugnotes" id="bugnotes">TERZA PROVA<br>
----------------</a><a name="bugnotes" id="bugnotes"><br>
</a><br>
<a name="bugnotes" id="bugnotes">sudo dd if=/dev/zero of=/dev/sdd
count=1 bs=1k <br>
sudo fdisk -H 224 -S 56 /dev/sdd<br>
p<br>
n<br>
p<br>
1<br>
2048<br>
+232783871<br>
w<br>
<br>
sudo hdparm -t /dev/sdd<br>
<br>
/dev/sdd:<br>
Timing buffered disk reads: 860 MB in 3.00 seconds = 286.43
MB/sec<br>
<br>
</a><a name="bugnotes" id="bugnotes">info dal disko<br>
---------------------<br>
sudo hdparm -i /dev/sdd<br>
<br>
/dev/sdd:<br>
<br>
Model=Corsair Force 3 SSD, FwRev=1.3.3,
SerialNo=12026504000008953860<br>
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs
RotSpdTol>.5% }<br>
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4<br>
BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16<br>
CurCHS=16383/16/63, CurSects=16514064, LBA=yes,
LBAsects=234441648<br>
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}<br>
PIO modes: pio0 pio1 pio2 pio3 pio4 <br>
DMA modes: mdma0 mdma1 mdma2 <br>
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 <br>
AdvancedPM=yes: unknown setting WriteCache=enabled<br>
Drive conforms to: unknown: ATA/ATAPI-2,3,4,5,6,7<br>
<br>
* signifies the current active mode <br>
-----------</a><br>
<br>
<a name="bugnotes" id="bugnotes">QUARTA PROVA<br>
-----------------------<br>
<br>
hdparm -i /dev/sdd<br>
sudo gparted -> delete all partition<br>
sudo apt-get install lvm2 dmsetup mdadm<br>
sudo pvcreate --dataalignmentoffset 7s /dev/sdd<br>
sudo pvcreate --dataalignmentoffset 7s /dev/sdd<br>
sudo vgcreate wd2tsata /dev/sdd<br>
sudo lvcreate --name vm_storage --size 111G wd2tsata<br>
<br>
<br>
LINK: </a><a href="http://linux.die.net/man/8/mkfs.xfs">http://linux.die.net/man/8/mkfs.xfs</a>
[<a href="http://linux.die.net/man/8/mkfs.xfs" target="_blank">^</a>]<br>
<br>
sudo mkfs.xfs -b size=4096 -s size=4096 -N /dev/wd2tsata/vm_storage<br>
meta-data=/dev/wd2tsata/vm_storage isize=256 agcount=4,
agsize=7274496 blks<br>
= sectsz=4096 attr=2, projid32bit=0<br>
data = bsize=4096 blocks=29097984, imaxpct=25<br>
= sunit=0 swidth=0 blks<br>
naming =version 2 bsize=4096 ascii-ci=0<br>
log =internal log bsize=4096 blocks=14208, version=2<br>
= sectsz=4096 sunit=1 blks, lazy-count=1<br>
realtime =none extsz=4096 blocks=0, rtextents=0<br>
<br>
<br>
sudo hdparm -t /dev/sdd<br>
dev/sdd:<br>
Timing buffered disk reads: 896 MB in 3.01 seconds = 298.13 MB/sec<br>
server@server-System-Product-Name:~$ sudo hdparm -t /dev/sdd<br>
<br>
<br>
sudo hdparm -t /dev/dm-0<br>
/dev/dm-0:<br>
Timing buffered disk reads: 842 MB in 3.01 seconds = 280.16 MB/sec<br>
<br>
<a name="bugnotes" id="bugnotes">QUINTA PROVA<br>
--------------------<br>
<br>
tip:delete partition table<br>
sudo dd if=/dev/zero of=/dev/sdd count=1 bs=1k <br>
<br>
tip:create partition table<br>
Link: </a><a
href="https://wiki.archlinux.org/index.php/Solid_State_Drives">https://wiki.archlinux.org/index.php/Solid_State_Drives</a>
[<a href="https://wiki.archlinux.org/index.php/Solid_State_Drives"
target="_blank">^</a>]<br>
sudo fdisk /dev/sdd<br>
o<br>
n<br>
p<br>
1<br>
2048<br>
+232783871<br>
<br>
<br>
tip: after creating the partition, I realigned it.<br>
link: <a
href="http://www.osnews.com/story/22872/Linux_Not_Fully_Prepared_for_4096-Byte_Sector_Hard_Drives">http://www.osnews.com/story/22872/Linux_Not_Fully_Prepared_for_4096-Byte_Sector_Hard_Drives</a>
[<a
href="http://www.osnews.com/story/22872/Linux_Not_Fully_Prepared_for_4096-Byte_Sector_Hard_Drives"
target="_blank">^</a>]<br>
b<br>
64<br>
w<br>
<br>
sudo hdparm -t /dev/sdd -> 300/315 mb/s<br>
<br>
<br>
---------------<br>
<br>
<a name="bugnotes" id="bugnotes">sudo dd if=/dev/zero of=/dev/sdd
count=1 bs=1k<br>
sudo fdisk -H 224 -S 56 /dev/sdd<br>
o<br>
n -> new<br>
p -> primary<br>
1 -> partition 1<br>
2048<br>
+232783871<br>
w<br>
<br>
sudo fdisk -lu cylinder /dev/sdd<br>
<br>
Disk /dev/sdd: 120.0 GB, 120034123776 bytes<br>
124 heads, 24 sectors/track, 78777 cylinders, total 234441648
sectors<br>
Units = sectors of 1 * 512 = 512 bytes<br>
Sector size (logical/physical): 512 bytes / 512 bytes<br>
I/O size (minimum/optimal): 512 bytes / 512 bytes<br>
Disk identifier: 0x9c205ded<br>
<br>
Device Boot Start End Blocks Id System<br>
/dev/sdd1 2048 232785919 116391936 83 Linux<br>
<br>
sudo hdparm -t /dev/sdd<br>
/dev/sdd:<br>
Timing buffered disk reads: 910 MB in 3.00 seconds = 303.09
MB/sec<br>
<br>
sudo mkfs.xfs -N /dev/sdd -> non riesce a formattare , resource
busy -> riavvio<br>
sudo mkfs.xfs -N /dev/sdd -> ok</a><a name="bugnotes"
id="bugnotes"><br>
<br>
sudo gparted -> riporta allineamento al settore 0 !!!<br>
</a><br>
-----------<br>
<br>
<a name="bugnotes" id="bugnotes">sudo dd if=/dev/zero of=/dev/sdd
count=1 bs=1k<br>
sudo fdisk -H 224 -S 56 /dev/sdd<br>
o<br>
n -> new<br>
p -> primary<br>
1 -> partition 1<br>
2048<br>
+232783871<br>
w<br>
<br>
sudo gparted -> xfs -> riporta allineamento al settore 2048
</a><br>
<br>
sudo gedit /etc/fstab<br>
<a name="bugnotes" id="bugnotes"><br>
UUID=3d14f25c-cbcb-43ac-8076-f83873e5a3c0 /media/ssd xfs
defaults,noatime,discard 0 3<br>
<br>
reboot<br>
<br>
sudo hdparm -t /dev/sdd<br>
/dev/sdd:<br>
Timing buffered disk reads: 1090 MB in 3.00 seconds = 362.81
MB/sec<br>
<br>
</a>
<pre class="moz-signature" cols="72">--
HARDELETTROSOFT di Manzoni Giovanni
VAT. IT03473560161 <a class="moz-txt-link-freetext" href="http://www.hardelettrosoft.com">http://www.hardelettrosoft.com</a>
Viale Dei Caduti 2/bis, Almenno San Salvatore 24031 (BG) ITALY
Mobile: 334 5638256 Tel. : 035 644074</pre>
</body>
</html>