From joe_mchsu at phison.com Thu Dec 7 00:39:17 2017 From: joe_mchsu at phison.com (=?big5?B?s1y7yqx3?=) Date: Thu, 7 Dec 2017 08:39:17 +0000 Subject: [nvmewin] device formatted time Message-ID: Hi, Everyone, I have a formatted time issue with OFA driver on windows 10. I use a 256GB Nvme drive to test. Device’s formatted time costs about 40~50 seconds with OFA driver, but it only costs 1 ~ 2 seconds with Microsoft inbox nvme driver. Is there any chance to improve it? Thanks, Joe#3138 This message and any attachments are confidential and may be legally privileged. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please immediately notify the sender, completely delete the message and any attachments, and destroy all copies. Your cooperation will be highly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: From suman.p at samsung.com Thu Dec 7 01:52:58 2017 From: suman.p at samsung.com (SUMAN PRAKASH B) Date: Thu, 07 Dec 2017 09:52:58 +0000 Subject: [nvmewin] device formatted time In-Reply-To: References: Message-ID: <20171207095258epcms5p2c4a073b7006efc9b1e4fdf9798e0a901@epcms5p2> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 13402 bytes Desc: not available URL: From joe_mchsu at phison.com Thu Dec 7 17:30:25 2017 From: joe_mchsu at phison.com (=?utf-8?B?6Kix6YqY5rSy?=) Date: Fri, 8 Dec 2017 01:30:25 +0000 Subject: [nvmewin] device formatted time In-Reply-To: <20171207095258epcms5p2c4a073b7006efc9b1e4fdf9798e0a901@epcms5p2> References: <20171207095258epcms5p2c4a073b7006efc9b1e4fdf9798e0a901@epcms5p2> Message-ID: <1f5d1a817f454681ac5f79365e6e70df@ExMBX2.phison.com> Hi Suman, Thank you for your reply. I will test it. If I have any progress, I will feedback. Thanks, Joe#3138 From: SUMAN PRAKASH B [mailto:suman.p at samsung.com] Sent: Thursday, December 07, 2017 5:53 PM To: 許銘洲; nvmewin at lists.openfabrics.org Cc: Meenakshikumar Somasundaram; PRAKASH BABU VEMULA Subject: RE: [nvmewin] device formatted time Hi Joe, We have seen this issue earlier. In OFA driver, more time is taken for format because the maximum number of LBAs to unmap is less compared to value set by MS driver. We have to increase the maximum number of LBAs to unmap in SntiTranslateBlockLimitsPage() in pBLPage->MaximumUnmapLBACount. Thanks, Suman --------- Original Message --------- Sender : 許銘洲 > Date : 2017-12-07 14:09 (GMT+5:30) Title : [nvmewin] device formatted time Hi, Everyone, I have a formatted time issue with OFA driver on windows 10. I use a 256GB Nvme drive to test. Device’s formatted time costs about 40~50 seconds with OFA driver, but it only costs 1 ~ 2 seconds with Microsoft inbox nvme driver. Is there any chance to improve it? Thanks, Joe#3138 This message and any attachments are confidential and may be legally privileged. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please immediately notify the sender, completely delete the message and any attachments, and destroy all copies. Your cooperation will be highly appreciated. _______________________________________________ nvmewin mailing list nvmewin at lists.openfabrics.org http://lists.openfabrics.org/mailman/listinfo/nvmewin [cid:image001.gif at 01D37007.2D8C7CA0] [http://ext.samsung.net/mail/ext/v1/external/status/update?userid=suman.p&do=bWFpbElEPTIwMTcxMjA3MDk1MjU4ZXBjbXM1cDJjNGEwNzNiNzAwNmVmYzliMWU0ZmRmOTc5OGUwYTkwMSZyZWNpcGllbnRBZGRyZXNzPWpvZV9tY2hzdUBwaGlzb24uY29t] This message and any attachments are confidential and may be legally privileged. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please immediately notify the sender, completely delete the message and any attachments, and destroy all copies. Your cooperation will be highly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 13402 bytes Desc: image001.gif URL: From joe_mchsu at phison.com Mon Dec 11 19:18:14 2017 From: joe_mchsu at phison.com (=?big5?B?s1y7yqx3?=) Date: Tue, 12 Dec 2017 03:18:14 +0000 Subject: [nvmewin] =?big5?b?pl7C0DogIGRldmljZSBmb3JtYXR0ZWQgdGltZQ==?= In-Reply-To: <1f5d1a817f454681ac5f79365e6e70df@ExMBX2.phison.com> References: <20171207095258epcms5p2c4a073b7006efc9b1e4fdf9798e0a901@epcms5p2>, <1f5d1a817f454681ac5f79365e6e70df@ExMBX2.phison.com> Message-ID: <1513048692391.10019@phison.com> Hi Suman, Thank you again for your help, after I set NVME_MAX_NUM_BLOCKS_PER_READ_WRITE value from 0xFFFF to 0xFFFFFFFF, OFA driver formatted time can quick as well as MS inbox driver. I notice that OFA driver transfers SCSI unmap command to NVMe dataset management command, and dataset management can deal with 4bytes logical blocks length in range definition. Why did OFA driver's MaximumUnmapLBACount set 0xFFFF rather than 0xFFFFFFFF? Thanks, Joe ________________________________ 從: 許銘洲 寄件日期: 2017年12月8日 上午 09:30 至: suman.p at samsung.com; nvmewin at lists.openfabrics.org 副本: Meenakshikumar Somasundaram; PRAKASH BABU VEMULA 主旨: RE: [nvmewin] device formatted time Hi Suman, Thank you for your reply. I will test it. If I have any progress, I will feedback. Thanks, Joe#3138 From: SUMAN PRAKASH B [mailto:suman.p at samsung.com] Sent: Thursday, December 07, 2017 5:53 PM To: 許銘洲; nvmewin at lists.openfabrics.org Cc: Meenakshikumar Somasundaram; PRAKASH BABU VEMULA Subject: RE: [nvmewin] device formatted time Hi Joe, We have seen this issue earlier. In OFA driver, more time is taken for format because the maximum number of LBAs to unmap is less compared to value set by MS driver. We have to increase the maximum number of LBAs to unmap in SntiTranslateBlockLimitsPage() in pBLPage->MaximumUnmapLBACount. Thanks, Suman --------- Original Message --------- Sender : 許銘洲 > Date : 2017-12-07 14:09 (GMT+5:30) Title : [nvmewin] device formatted time Hi, Everyone, I have a formatted time issue with OFA driver on windows 10. I use a 256GB Nvme drive to test. Device’s formatted time costs about 40~50 seconds with OFA driver, but it only costs 1 ~ 2 seconds with Microsoft inbox nvme driver. Is there any chance to improve it? Thanks, Joe#3138 This message and any attachments are confidential and may be legally privileged. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please immediately notify the sender, completely delete the message and any attachments, and destroy all copies. Your cooperation will be highly appreciated. _______________________________________________ nvmewin mailing list nvmewin at lists.openfabrics.org http://lists.openfabrics.org/mailman/listinfo/nvmewin [cid:image001.gif at 01D37007.2D8C7CA0] [http://ext.samsung.net/mail/ext/v1/external/status/update?userid=suman.p&do=bWFpbElEPTIwMTcxMjA3MDk1MjU4ZXBjbXM1cDJjNGEwNzNiNzAwNmVmYzliMWU0ZmRmOTc5OGUwYTkwMSZyZWNpcGllbnRBZGRyZXNzPWpvZV9tY2hzdUBwaGlzb24uY29t] This message and any attachments are confidential and may be legally privileged. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please immediately notify the sender, completely delete the message and any attachments, and destroy all copies. Your cooperation will be highly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 13402 bytes Desc: image001.gif URL: