CN104461642A - 基于Linux系统下4K技术硬盘性能提升设定及性能检测的方法 - Google Patents

基于Linux系统下4K技术硬盘性能提升设定及性能检测的方法 Download PDF

Info

Publication number
CN104461642A
CN104461642A CN201410774253.4A CN201410774253A CN104461642A CN 104461642 A CN104461642 A CN 104461642A CN 201410774253 A CN201410774253 A CN 201410774253A CN 104461642 A CN104461642 A CN 104461642A
Authority
CN
China
Prior art keywords
performance
hard disk
disk
linux system
under
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410774253.4A
Other languages
English (en)
Inventor
金冉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201410774253.4A priority Critical patent/CN104461642A/zh
Publication of CN104461642A publication Critical patent/CN104461642A/zh
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

本发明提供一种基于Linux系统下4K技术硬盘性能提升设定及性能检测的方法,涉及计算机软件OS领域整机性能方面,本发明需要安装简单的Linux系统,调取相应的工具文件对磁盘进行设定,对4K硬盘进行调整并使其柱面对齐,从而得到系统下性能的提升,法磁盘性能从30M/S可以提升至270M/S性能提升了9倍。

Description

基于Linux系统下4K技术硬盘性能提升设定及性能检测的方法
技术领域
本发明涉及计算机软件OS领域整机性能方面,尤其涉及一种基于Linux系统下4K技术硬盘性能提升设定及性能检测的方法。  
背景技术
当需要从磁盘读取数据时,系统会将数据逻辑地址传给磁盘,磁盘的控制电路按照寻址逻辑将逻辑地址翻译成物理地址,即确定要读的数据在哪个磁道,哪个扇区。 
为了读取这个扇区的数据,需要将磁头放到这个扇区上方,为了实现这一点: 
1)首先必须找到柱面,即磁头需要移动对准相应磁道,这个过程叫做寻道所耗费时间叫做寻道时间,
2)然后目标扇区旋转到磁头下,即磁盘旋转将目标扇区旋转到磁头下。这个过程耗费的时间叫做旋转时间。
即一次访盘请求(读/写)完成过程由三个动作组成: 
1)寻道(时间):磁头移动定位到指定磁道;
2)旋转延迟(时间):等待指定扇区从磁头下旋转经过;
3)数据传输(时间):数据在磁盘与内存之间的实际传输。
由于传统的应用程序仍然以512B的字节进行读取,磁盘大部分的时间都花费在寻道等时间上,故磁盘性能低下。 
发明内容
针对windows系统厂家目前已经有了相应的工具对于Linux系统没有相应的工具进行修改,通过此方法可以对4K硬盘进行系统下性能的提升。   
安装Linux系统,调取相应的工具文件对磁盘进行设定,对4K硬盘进行调整并使其柱面对齐,从而得到系统下性能的提升。
软件设置流程: 
1、安装使用4K技术硬盘的Linux系统。
此处需要书写的脚本geshihua、jiance、canshu、postmark-txm.cfg、另一个压缩包inspur.tar.gz。 
2、将上述压缩包以及脚本程序拷贝至/tmp 目录下 
./geshihua可以完成相应软件包的安装、系统下针对4k技术硬盘的相关系统下的设定以及磁盘的格式化操作,磁盘性能检测软件的安装。
./jiance 输入需要检测的盘符,然后屏幕中会打出性能数值,经过对比分析,使用此方法前性能大约在30M/S左右,使用此方法后性能可以提升至270M/S,极大的提升了磁盘的性能。 
3、各个脚本的源码。 
压缩包inspur.tar.gz文件内包含e2fsprogs-1.42.1.tar.gz、parted-2.4.tar.gz、postmark-1.51-2.1.x86_64.rpm。 
传统的硬盘是基于512B的存储技术,新的硬盘厂家为扩大硬盘的总体容量,采用4K的存储方式; 
    由于传统的应用程序仍然以512B的字节进行读取,磁盘大部分的时间都浪费在寻道等时间上,故造成磁盘性能降低。针对windows系统厂家目前已经有了相应的工具,但对于Linux系统没有相应的工具进行修改。通过此方法调取相应的工具文件对磁盘进行设定,可以对4K硬盘进行调整并使其柱面对齐,从而得到系统下性能的提升。
相比普通的应用,本方法只需要安装简单的Linux系统以及使用本方法中的程序即可完成,无需要进行专业软件的购买安装,且可以进行检测看是否性能有所提升。 
操作简单、部署迅速,极大的提高了系统下的磁盘性能。 
附图说明
图1是软件设置流程图。 
具体实施方式
下面对本发明的内容进行更加详细的阐述: 
软件设置流程:
1、安装使用4K技术硬盘的Linux系统。
此处需要书写的脚本geshihua、jiance、canshu、postmark-txm.cfg、另一个压缩包inspur.tar.gz。 
2、将上述压缩包以及脚本程序拷贝至/tmp 目录下 
./geshihua可以完成相应软件包的安装、系统下针对4k技术硬盘的相关系统下的设定以及磁盘的格式化操作,磁盘性能检测软件的安装。
./jiance 输入需要检测的盘符,然后屏幕中会打出性能数值,经过对比分析,使用此方法前性能大约在30M/S左右,使用此方法后性能可以提升至270M/S,极大的提升了磁盘的性能。
3、各个脚本的源码。 
软件流程: 
     压缩包inspur.tar.gz 文件内包含e2fsprogs-1.42.1.tar.gz、parted-2.4.tar.gz、postmark-1.51-2.1.x86_64.rpm。
经上述发明所述的方法磁盘性能从30M/S可以提升至270M/S 性能提升了9倍。 

Claims (3)

1.基于Linux系统下4K技术硬盘性能提升设定及性能检测的方法,其特征在于,安装Linux系统,调取相应的工具文件对磁盘进行设定,对4K硬盘进行调整并使其柱面对齐,从而得到系统下性能的提升。
2.根据权利要求1所述的方法,其特征在于,设置流程为:
1)安装使用4K技术硬盘的Linux系统
此处需要书写的脚本geshihua、jiance、canshu、postmark-txm.cfg、另一个压缩包inspur.tar.gz;
2)将上述压缩包以及脚本程序拷贝至/tmp 目录下
./geshihua可以完成相应软件包的安装、系统下针对4k技术硬盘的相关系统下的设定以及磁盘的格式化操作、磁盘性能检测软件的安装;
./jiance输入需要检测的盘符,然后屏幕中会打出性能数值;
3)各个脚本的源码。
3.根据权利要求2所述的方法,其特征在于,压缩包inspur.tar.gz文件内包含e2fsprogs-1.42.1.tar.gz、parted-2.4.tar.gz、postmark-1.51-2.1.x86_64.rpm。
CN201410774253.4A 2014-12-16 2014-12-16 基于Linux系统下4K技术硬盘性能提升设定及性能检测的方法 Pending CN104461642A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410774253.4A CN104461642A (zh) 2014-12-16 2014-12-16 基于Linux系统下4K技术硬盘性能提升设定及性能检测的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410774253.4A CN104461642A (zh) 2014-12-16 2014-12-16 基于Linux系统下4K技术硬盘性能提升设定及性能检测的方法

Publications (1)

Publication Number Publication Date
CN104461642A true CN104461642A (zh) 2015-03-25

Family

ID=52907747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410774253.4A Pending CN104461642A (zh) 2014-12-16 2014-12-16 基于Linux系统下4K技术硬盘性能提升设定及性能检测的方法

Country Status (1)

Country Link
CN (1) CN104461642A (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050036381A1 (en) * 2003-08-14 2005-02-17 Hitachi Global Storage Technologies System and method for handling writes in HDD using 4K block sizes
CN101030165A (zh) * 2006-03-02 2007-09-05 腾讯科技(深圳)有限公司 一种磁盘空间管理方法及系统
CN101295276A (zh) * 2008-06-20 2008-10-29 中国科学院计算技术研究所 一种磁盘级数据备份系统和方法
US20090150614A1 (en) * 2007-12-07 2009-06-11 Auerbach Daniel J Non-volatile cache in disk drive emulation
CN102866862A (zh) * 2012-07-26 2013-01-09 浪潮电子信息产业股份有限公司 一种基于4k扇区硬盘性能优化的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050036381A1 (en) * 2003-08-14 2005-02-17 Hitachi Global Storage Technologies System and method for handling writes in HDD using 4K block sizes
CN101030165A (zh) * 2006-03-02 2007-09-05 腾讯科技(深圳)有限公司 一种磁盘空间管理方法及系统
US20090150614A1 (en) * 2007-12-07 2009-06-11 Auerbach Daniel J Non-volatile cache in disk drive emulation
CN101295276A (zh) * 2008-06-20 2008-10-29 中国科学院计算技术研究所 一种磁盘级数据备份系统和方法
CN102866862A (zh) * 2012-07-26 2013-01-09 浪潮电子信息产业股份有限公司 一种基于4k扇区硬盘性能优化的方法

Similar Documents

Publication Publication Date Title
US9817652B2 (en) Data storage device and method for reducing firmware update time and data processing system including the device
KR100909119B1 (ko) 집적 dma 엔진을 사용하는 고성능 휘발성 디스크드라이브 메모리 액세스 장치 및 방법
US11099831B2 (en) Firmware update in a storage backed memory system
US20140095555A1 (en) File management device and method for storage system
KR102140592B1 (ko) 데이터 저장 장치
JP5547727B2 (ja) ボリュームへの変更を追跡するシステムおよび方法
WO2016048599A1 (en) Caching technologies employing data compression
US10067676B2 (en) Hybrid memory drives, computer system, and related method for operating a multi-mode hybrid drive
CN110941395B (zh) 动态随机存取存储器、内存管理方法、系统及存储介质
US20190042153A1 (en) Mass storage device capable of fine grained read and/or write operations
US20140372831A1 (en) Memory controller operating method for read operations in system having nonvolatile memory device
TW201346551A (zh) 資料處理方法、記憶體控制器與記憶體儲存裝置
US20190332527A1 (en) Information Handling System with Priority Based Cache Flushing of Flash Dual In-Line Memory Module Pool
US10042585B2 (en) Pervasive drive operating statistics on SAS drives
US8055842B1 (en) Using raid with large sector size ATA mass storage devices
US9652416B2 (en) Storage device for performing in-storage computing operations, method of operation the same, and system including the same
US9904622B2 (en) Control method for non-volatile memory and associated computer system
US20130024602A1 (en) Universal Storage for Information Handling Systems
TW201729084A (zh) 在處理器中具有基於方塊儲存的介面
US20120191962A1 (en) System and method for simulating bios rom of computing device into virtual disk
CN106951268A (zh) 一种申威平台支持NVMe硬盘启动的实现方法
TW201734766A (zh) 使用處理器指令前綴的二進制轉譯支援
US9588882B2 (en) Non-volatile memory sector rotation
TWI653537B (zh) 卸載固態硬碟卡的方法以及使用該方法的裝置
US10331385B2 (en) Cooperative write-back cache flushing for storage devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150325