JP2010198187A - Method for controlling number of tcp connections of iscsi session, iscsi host device, and configuration program for iscsi initiator - Google Patents

Method for controlling number of tcp connections of iscsi session, iscsi host device, and configuration program for iscsi initiator Download PDF

Info

Publication number
JP2010198187A
JP2010198187A JP2009040769A JP2009040769A JP2010198187A JP 2010198187 A JP2010198187 A JP 2010198187A JP 2009040769 A JP2009040769 A JP 2009040769A JP 2009040769 A JP2009040769 A JP 2009040769A JP 2010198187 A JP2010198187 A JP 2010198187A
Authority
JP
Japan
Prior art keywords
iscsi
tcp connections
reception buffer
session
host device
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
JP2009040769A
Other languages
Japanese (ja)
Inventor
Yoshihiro Nomoto
義弘 野本
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2009040769A priority Critical patent/JP2010198187A/en
Publication of JP2010198187A publication Critical patent/JP2010198187A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To achieve control of a storage access rate without depending on an application. <P>SOLUTION: In a method for controlling the number of TCP connections, a video server 3 which performs iSCSI session with a plurality of iSCSi targets 2 is configured of reception buffers 4 for storing data to be received in the session, each of which is set with an upper limit threshold and a lower limit threshold, and each of initiators 4 of the video server 3 is integrated with a connection distribution functioning part 5 for distributing iSCSI(Read) commands to TCP connections and a distribution control part 6 for instructing the increase/decrease of the number of TCP connections by using a relation between the upper limit value or lower limit value of the reception buffer 4 and the amounts of the storage data. The distribution control part 6 instructs the decrease of the number of TCP connections when the amounts of the storage data of the reception buffer 4 exceed the upper limit value, and instructs the increase of the number of TCP connections when the amounts of the storage data of the reception buffer 4 become less than the lower limit value. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、iSCSIホスト装置とiSCSIデバイス装置とをIP(internet protocol)ネットワークを使用して接続するiSCSI技術、特に読み出しスループット値を安定化させる技術に関する。   The present invention relates to an iSCSI technology for connecting an iSCSI host device and an iSCSI device device using an IP (Internet Protocol) network, and more particularly to a technology for stabilizing a read throughput value.

(1)iSCSI(Internet SCSI,SCSI over TCP)
単体、もしくは複数のハードディスクドライブ装置の集合体、あるいは専用の制御部で複数のハードディスクドライブ装置を制御するディスクアレイ装置等から構成されるストレージ装置が実用化されている。
(1) iSCSI (Internet SCSI, SCSI over TCP)
A storage device composed of a single or a collection of a plurality of hard disk drive devices or a disk array device that controls a plurality of hard disk drive devices with a dedicated control unit has been put into practical use.

ストレージ装置(デバイス装置)とホスト装置(サーバ,PC)間を接続するインターフェース技術としてはファイバチャネル(FC:Fiber Channel)、インフィニバンド(Infini Band)、SCSI(Small Computer Systems Interface)などがある。   Examples of interface technologies for connecting a storage apparatus (device apparatus) and a host apparatus (server, PC) include Fiber Channel (FC), InfiniBand, and SCSI (Small Computer Systems Interface).

SCSIインターフェースは、近距離間を経済的に接続する用途として優れ、既に広く普及している。当該インターフェースでは、クライアントに相当する機能をイニシエータ、サーバに相当する機能をターゲットと呼び、イニシエータとターゲット間で、SCSIコマンド(CDB:Command Descriptor Block)を交換する。   The SCSI interface is excellent as an application for economically connecting a short distance, and is already widely used. In the interface, a function corresponding to a client is called an initiator, and a function corresponding to a server is called a target, and a SCSI command (CDB: Command Descriptor Block) is exchanged between the initiator and the target.

iSCSI(internet SCSI)技術は、非特許文献1に示すように、2004年にネットワークプロトコルであるTCP/IPの上位プロトコルとしてIETF(The Internet Engineering Task Force)で標準化された(RFC3720)。このiSCSI接続は、ファイバチャネルなどの他のネットワークストレージプロトコルと違ってコンピュータにイーサネット(登録商標)のインタフェースがあれば使用することができる。   As shown in Non-Patent Document 1, iSCSI (Internet SCSI) technology was standardized in 2004 by The Internet Engineering Task Force (RFC3720) as an upper protocol of TCP / IP, which is a network protocol. Unlike other network storage protocols such as Fiber Channel, this iSCSI connection can be used if the computer has an Ethernet (registered trademark) interface.

現在、iSCSI技術は、ギガビット以上の回線品質、特にデータセンター内、データセンター間や大規模LANシステム等の基幹回線で利用されている。iSCSI技術は、非特許文献1でTCPコネクションを複数利用する方法を規定しているが、これはオプション機能のため必ずしも実装されているわけでなない。   Currently, the iSCSI technology is used for a line quality of gigabit or higher, particularly in a backbone line such as in a data center, between data centers, and a large-scale LAN system. The iSCSI technology defines a method of using a plurality of TCP connections in Non-Patent Document 1, but this is not necessarily implemented because of an optional function.

(2)iSCSI高速化技術
その一方で、高遅延特性を有するIPネットワーク上で、ネットワーク遅延によるiSCSIスループットの低下を防ぐ方法として、TCPコネクションの複数利用の有効性は知られている(非特許文献2.3)。また、TCPコネクションの複数利用の実現手段としてマルチリンクを用いる手法(非特許文献4参照)や、トランスポート層のプロトコルを変更する方法(非特許文献5)なども提案されている。
(2) iSCSI speed-up technology On the other hand, the effectiveness of using multiple TCP connections is known as a method for preventing a decrease in iSCSI throughput due to network delay on an IP network having high delay characteristics (Non-Patent Documents). 2.3). In addition, a method using a multilink (see Non-Patent Document 4), a method of changing a transport layer protocol (Non-Patent Document 5), and the like have been proposed as means for realizing multiple use of TCP connections.

例えば、マルチリンクを用いる手法である非特許文献4では、VPNのマルチホーミング機能を用いて、並列TCPコネクションを複数の経路で確立させ、スループット向上を実現する手法が提案されている。   For example, Non-Patent Document 4, which is a technique using a multilink, proposes a technique for establishing a parallel TCP connection through a plurality of routes and using a VPN multihoming function to improve throughput.

また、トランスポート層のプロトコルを変更する手法である非特許文献5では、では、複数のLANポートを利用して物理的にリンクを多重化し、TCPコネクションを異なる経路で確立することによりスループットの向上を図っている。   In Non-Patent Document 5, which is a method for changing the protocol of the transport layer, throughput is improved by physically multiplexing links using a plurality of LAN ports and establishing TCP connections through different paths. I am trying.

しかしながら、非特許文献4の技術にはマルチリンクを利用できる環境に制限があり、非特許文献5の技術にはマルチベンダー機器への接続が困難であるという問題が残っている。   However, the technology of Non-Patent Document 4 has a limitation in the environment in which multilink can be used, and the technology of Non-Patent Document 5 still has a problem that it is difficult to connect to a multi-vendor device.

RFC3720 ”Internet Small Computer Systems Interface(iSCSI)”,Apr.2004.RFC 3720 “Internet Small Computer Systems Interface (iSCSI)”, Apr. 2004. Q.K.Yang“On performace of parallel iSCSI protocol for networked storage systems,”in Proceedings of the 20th International Conference on Advanced Information Networking and Applications(AINA 2006),vol.1,pp.629−636,Apr.2006.Q. K. Yang “On performance of parallel iSCSI informed storage systems,” In Proceedings of the 20th International Conference on Advanced Information. 1, pp. 629-636, Apr. 2006. G.Motwani and K.Gopinath,“Evaluation of advanced TCP stacks in the iSCSI environment using simulation model,”Proceedings of the 22nd IEEE/13th NASA Goddard Conference on Mass Storage Systems and Technologies(MSST’05),pp.210−217,2005.G. Motwani and K.M. Gopinath, “Evaluation of advanced TCP stacks in the iSCSI envi- ronment using simulation model,” Proceedings of the 22nd IEEE / 13th NASA Standard. 210-217, 2005. B.K.Kancheria,G.M.Narayan,and K.Gopinath,“Performance evaluation of Multiple TCP connection in iSCSI,”in Proceedings of the 24th IEEE Conference on Mass Storage Systems and Technologies,pp.239−244,IEEE Computer Society,Sept.2007.B. K. Kancheria, G .; M.M. Narayan, and K.K. Gopinath, “Performance evaluation of Multiple TCP connection in iSCSI,” in Proceedings of the 24th IEEE Conference on Mass Storage Systems and Tech. 239-244, IEEE Computer Society, Sept. 2007. 千島 望,山口 実靖,小口 正人,“iSCSIストレージにおけるVPN複数経路アクセス時の性能とTCPパラメータ解析,”電子情報通信学会 第18回データ工学ワークショップDEWS2007),Feb.2007.Nozomi Chishima, Minoru Yamaguchi, Masato Oguchi, “Performance and TCP parameter analysis during VPN multi-path access in iSCSI storage,” IEICE 18th Data Engineering Workshop DEWS 2007), Feb. 2007.

前述のように高遅延特性を有するIPネットワークにおいて、iSCSIのスループットが低下する問題は広く知られ、iSCSIに規定されたTCP多重接続を用いる方式がスループットを改善することも知られている。   As described above, in an IP network having high delay characteristics, the problem of a decrease in iSCSI throughput is widely known, and it is also known that a method using TCP multiple connections defined in iSCSI improves the throughput.

しかしながら、同時に複数のiSCSIストレージを接続するサーバがあり、当該サーバ上で動作する複数のアプリケーションそれぞれが、接続されているiSCSIストレージと1対1に接続される構成では問題を生じるおそれがある。   However, there is a server that connects a plurality of iSCSI storages at the same time, and a configuration in which each of a plurality of applications that operate on the server is connected one-to-one with the connected iSCSI storage may cause a problem.

すなわち、各アプリケーション実行の公平性がストレージ間とのスループットに直結する、動画再生のような利用法のもとでは、特定のストレージとのスループットが突出することなく、サーバ上のアプリケーションが必要とする入力レートに十分なデータアクセスを実現し、他のストレージアクセスへの影響を最小限に留めなければならない。   That is, the fairness of execution of each application is directly linked to the throughput between the storages, and the usage on the server requires that the throughput with the specific storage does not protrude under the usage such as movie playback. Sufficient data access for the input rate must be achieved and the impact on other storage accesses must be kept to a minimum.

ところが、従来、IPストレージに対するアクセス制御はアプリケーションが担っており、アプリケーション間でアクセスレートを調整しない限り、公平性を実現することは困難である。   However, conventionally, access control to the IP storage is performed by an application, and it is difficult to achieve fairness unless the access rate is adjusted between applications.

本発明は、上述のような従来技術の問題点を解決するためになされたものであり、アプリケーションに依存することなく、ストレージアクセスレートの制御を実現することを解決課題とする。   The present invention has been made to solve the above-described problems of the prior art, and an object of the present invention is to realize storage access rate control without depending on an application.

iSCSI技術は、一つのiSCSIセッション内に複数のTCPコネクションを確立して、複数のSCSIコマンドを並列に発行し、各TCPコネクションで同時にデータ転送を行う機能が規定されているものの、TCPコネクション数をどのように決定するか、あるいは、確立済みの複数のTCPコネクションに対して、上位層からのデータ読み出しや書き込み命令をどのコネクションに振り分けるかは規定されていない。   Although the iSCSI technology defines a function for establishing a plurality of TCP connections in one iSCSI session, issuing a plurality of SCSI commands in parallel, and simultaneously transferring data in each TCP connection, the number of TCP connections is specified. It is not specified how to determine or to which connection a data read / write command from an upper layer is distributed to a plurality of established TCP connections.

そこで、本発明は、前記課題を解決すべく、上位層からの読み出し、書き込み命令を、複数のTCPコネクション数のいずれに振り分けるかを管理するアルゴリズムをイニシエータ内に配置する。   Therefore, in order to solve the above problems, the present invention arranges an algorithm in the initiator for managing which of a plurality of TCP connections the read / write command from the upper layer is distributed to.

内蔵するアルゴリズムは、読み出し命令の場合、各iSCSIセッション単位の受信バッファを参照し、受信バッファに設定した上限・下限の閾値とデータ蓄積量の関係を用いて、iSCSI(Read/Write)コマンドを振り分けるTCPコネクション数を増減する。ここでは予め、TCPコネクション数の増加がスループットの増加に反映されるコネクション数内で制御を行う。   In the case of a read command, the built-in algorithm refers to the receive buffer for each iSCSI session, and distributes the iSCSI (Read / Write) command using the relationship between the upper and lower thresholds set in the receive buffer and the data accumulation amount. Increase or decrease the number of TCP connections. Here, control is performed in advance within the number of connections in which an increase in the number of TCP connections is reflected in an increase in throughput.

すなわち、iSCSIセッション内で受信するデータが受信バッファの上限閾値を超える蓄積量に到達した場合にiSCSI(Read/Write)コマンドを送信するTCPコネクション数を減少させる。一方、受信バッファの下限閾値を下回る蓄積量になった場合にiSCSI(Read/Write)コマンドを送信するTCPコネクション数を増加させる。このような制御を行うことで、受信バッファ内のデータ蓄積量を一定のサイズに抑制し、平均スループットを安定させている。   That is, the number of TCP connections that transmit an iSCSI (Read / Write) command when the amount of data received within the iSCSI session reaches an accumulation amount that exceeds the upper limit threshold of the reception buffer is reduced. On the other hand, the number of TCP connections for transmitting an iSCSI (Read / Write) command is increased when the accumulation amount falls below the lower limit threshold of the reception buffer. By performing such control, the amount of data stored in the reception buffer is suppressed to a certain size, and the average throughput is stabilized.

本発明によれば、アプリケーションに依存することなく、ストレージアクセスレートが制御される。   According to the present invention, the storage access rate is controlled without depending on the application.

TCPコネクション数を複数利用するiSCSI接続の概略図。Schematic diagram of iSCSI connection using a plurality of TCP connections. 本発明の実施形態に係るビデオサーバの内部構成図。The internal block diagram of the video server which concerns on embodiment of this invention. 同 TCP多重接続時のiSCSIコマンドの送信例を示す概略図。Schematic which shows the example of transmission of the iSCSI command at the time of the TCP multiple connection. 同 受信バッファの蓄積データ量が上限閾値を超えたときの制御を示す概略図。Schematic which shows control when the amount of data stored in the reception buffer exceeds an upper threshold. 同 受信バッファの蓄積データ量が上限閾値〜下限閾値の範囲内の制御を示す概略図。Schematic which shows the control within the range of the upper limit threshold value-the lower limit threshold value in the amount of data stored in the reception buffer. 同 受信バッファの蓄積データ量が下限閾値を下回ったとこの制御を示す概略図。The schematic diagram which shows this control when the accumulation | storage data amount of the same reception buffer is less than a lower limit threshold value.

以下、図面に基づき本発明の一実施形態を説明する。図1は、iSCSIイニシエータ1とiSCSIターゲット2とがIP(Internet Protocol)ネットワークを介して、iSCSI接続される基本的な形態を示している。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows a basic form in which an iSCSI initiator 1 and an iSCSI target 2 are iSCSI-connected via an IP (Internet Protocol) network.

ここではiSCSIプロトコルにおいて、1本のiSCSI接続(iSCSIセッション)内に複数のTCPコネクションが利用されている。このTCPコネクション数を「N」と表記している。   Here, in the iSCSI protocol, a plurality of TCP connections are used in one iSCSI connection (iSCSI session). The number of TCP connections is expressed as “N”.

iSCSIイニシエータ1は、iSCSIホスト装置を構成するビデオサーバに実装されている一方、iSCSIターゲット2は、iSCSIデバイス装置を構成するディスクストレージ装置に実装されている。   The iSCSI initiator 1 is mounted on the video server constituting the iSCSI host device, while the iSCSI target 2 is mounted on the disk storage device constituting the iSCSI device device.

非特許文献1で規定された当該プロトコルではTCPコネクションを複数利用する形態を規定しているが、定めているのは上位層からのiSCSIコマンドを特定のTCPコネクションを通して送信した場合、当該コマンドに起因する「ターゲットからのレスポンスの受信」と「レスポンスへのレスポンス」などを同一コネクションで完結することを定めているにすぎない。   The protocol defined in Non-Patent Document 1 defines a form in which a plurality of TCP connections are used. However, when an iSCSI command from an upper layer is transmitted through a specific TCP connection, the protocol is attributed to the command. It only specifies that "Reception of response from target" and "Response to response" are completed in the same connection.

すなわち、確立したiSCSIセッションでのデータ送受信中に、TCPコネクション数Nを変更すること、あるいは確立したTCPコネクションのいずれにiSCSI(Read/Write)コマンドを送出するかは定められていない。   In other words, it is not determined whether to change the number N of TCP connections during data transmission / reception in an established iSCSI session, or to which of the established TCP connections an iSCSI (Read / Write) command is transmitted.

図2は、本発明の実施形態に係るビデオサーバ3の内部構成を示し、該ビデオサーバ3には複数のiSCSIターゲット2が接続されている。この各iSCSIターゲット2には、サービスを提供するためのデータが格納されている。   FIG. 2 shows an internal configuration of the video server 3 according to the embodiment of the present invention, and a plurality of iSCSI targets 2 are connected to the video server 3. Each iSCSI target 2 stores data for providing a service.

ビデオサーバ3は、コンピュータのハードウェア資源(CPU,メモリ,通信デバイスなど)を備えている。ここではビデオサーバ3は、ハードウェア資源とソフトウェアとの協働の結果、各iSCSIターゲット2と1対1で接続するイニシエータ1群と、各セッションを通じて同一のiSCSIターゲット2から読み出したデータが各iSCSIイニシエータ1経由で一時的に蓄積される受信バッファ4群とが構築されている。なお、各受信バッファ4はiSCSIターゲット2毎に構築されている。   The video server 3 includes computer hardware resources (CPU, memory, communication device, etc.). Here, as a result of cooperation between hardware resources and software, the video server 3 receives a group of initiators connected to each iSCSI target 2 on a one-to-one basis and data read from the same iSCSI target 2 through each session. A reception buffer 4 group that is temporarily stored via the initiator 1 is constructed. Each reception buffer 4 is constructed for each iSCSI target 2.

各iSCSIイニシエータ1の機能は、イーサネットインタフェースなどの通信デバイスを通じて実現され、各受信バッファ4の機能は、メモリ(RAM)などの記憶装置を通じて実現されている。ここでは各受信バッファ4には、蓄積データ量の上限閾値と下限閾値とが設定されているものとする。この各閾値はプログラムなどに定義され、使用状況などに応じて適宜に変更可能なものとする。   The function of each iSCSI initiator 1 is realized through a communication device such as an Ethernet interface, and the function of each reception buffer 4 is realized through a storage device such as a memory (RAM). Here, it is assumed that an upper limit threshold and a lower limit threshold for the amount of stored data are set in each reception buffer 4. Each threshold value is defined in a program or the like, and can be changed as appropriate according to the usage situation.

なお、ビデオサーバ3は、各iSCSIターゲット2に蓄積された、ビデオサーバ3上で動作する特定のサービスのためのデータにアクセスし、当該iSCSIターゲット2用の受信バッファ4を通して、所定の出力レートでデータを送信する。   The video server 3 accesses the data for a specific service operating on the video server 3 stored in each iSCSI target 2 and passes through the reception buffer 4 for the iSCSI target 2 at a predetermined output rate. Send data.

図3は、ビデオサーバ3のTCP多重接続時のiSCSI(Read)コマンドの送信処理例を示している。   FIG. 3 shows an example of an iSCSI (Read) command transmission process when the video server 3 is TCP multiple-connected.

ここではiSCSIイニシエータ1には、iSCSI(Readコマンド)をTCPコネクションへ振り分けるコネクション振分機能部5と、受信バッファ4の蓄積データ量に応じて振り分けるTCPコネクション数の増減をコネクション振分機能部5に指示する振分制御部6とが組み込まれている。以下、iSCSIイニシエータ1の動作例を説明する。   Here, in the iSCSI initiator 1, the connection distribution function unit 5 that distributes iSCSI (Read command) to TCP connections and the increase / decrease in the number of TCP connections that are distributed according to the amount of data stored in the reception buffer 4 are sent to the connection distribution function unit 5. A distribution control unit 6 for instructing is incorporated. Hereinafter, an operation example of the iSCSI initiator 1 will be described.

まず、図3中の矢印Aに示すように、ビデオサーバ3内の上位層(読み出し要求のキュー)からiSCSI(Read)コマンドが発行されと、矢印Bに示すように、該コマンドがiSCSIイニシエータ1に組み込まれたコネクション振分機能部5に届けられる。   First, when an iSCSI (Read) command is issued from an upper layer (read request queue) in the video server 3 as shown by an arrow A in FIG. 3, the command is sent to the iSCSI initiator 1 as shown by an arrow B. Is delivered to the connection distribution functioning unit 5 incorporated in.

このコネクション振分機能部5では、上位層から届いたiSCSI(Read)コマンドのTCPコネクションへの振分処理を行う。通常は、確立しているTCPコネクションN本(仮に、1番〜N番とする)に対して、1番からN番までラウンドロビンで振り分けを行う。これによりコネクション振分機能部5の処理に従って、矢印C.Dに示すように、指定されたTCPコネクションへiSCSI(Read)コマンドが送信される。   The connection distribution function unit 5 distributes the iSCSI (Read) command received from the upper layer to the TCP connection. Normally, the N TCP connections established (assumed to be No. 1 to N) are assigned in a round-robin manner from No. 1 to No. N. Thus, according to the processing of the connection distribution function unit 5, the arrow C.I. As shown in D, an iSCSI (Read) command is transmitted to the designated TCP connection.

つぎに、受信バッファ4には、前述のように同一のiSCSIターゲット2から読み出したデータが一時的に蓄積される。iSCSIイニシエータ1は、受信バッファ4内のデータ蓄積量を監視し、上限閾値を超えた場合または下限閾値を下回った場合には、矢印Eに示すように、振分制御部6にTCP多重度制御信号が送出される。   Next, the data read from the same iSCSI target 2 as described above is temporarily stored in the reception buffer 4. The iSCSI initiator 1 monitors the amount of data stored in the reception buffer 4, and if the upper limit threshold is exceeded or falls below the lower limit threshold, the distribution controller 6 controls the TCP multiplicity as indicated by the arrow E. A signal is sent out.

そして、振分制御部6は、前記TCP多重度数制御信号を受けた場合に、矢印Fに示すように、上限閾値に対して振り分けるTCPコネクションの削除指示あるいは下限閾値に対して振り分けるTCPコネクションの追加指示をコネクション振分機能部5に送出する。コネクション振分機能部5は、振分制御部6から指示を受け、1番〜n番(nは1より大きく、N以下の整数)までをラウンドロビンなどのルールに基づき振り分ける処理を行う。以上の処理例を図4〜図6に基づき説明する。   When the distribution control unit 6 receives the TCP multiplicity control signal, as shown by an arrow F, the distribution control unit 6 instructs the deletion of the TCP connection to be distributed to the upper threshold or the addition of the TCP connection to be distributed to the lower threshold. An instruction is sent to the connection distribution function unit 5. The connection distribution function unit 5 receives an instruction from the distribution control unit 6 and performs a process of distributing Nos. 1 to n (n is an integer greater than 1 and an integer equal to or less than N) based on a rule such as round robin. An example of the above processing will be described with reference to FIGS.

図4は、受信バッファ4内の蓄積データ量が、矢印Sに示すように増加し、上限閾値Pを超えた状態を示している。ここではTCP多重度制御信号が振分制御部6に送出され、該振分制御部6はコネクション振分機能部5にTCPコネクション3番を振分対象から除外する削除指示を送出する。この削除指示を受け取ったコネクション振分機能部5は、新たにTCPコネクション3番を除外する振分処理を行う。   FIG. 4 shows a state in which the amount of accumulated data in the reception buffer 4 increases as indicated by the arrow S and exceeds the upper limit threshold P. Here, the TCP multiplicity control signal is sent to the distribution control unit 6, and the distribution control unit 6 sends to the connection distribution function unit 5 an instruction to delete the TCP connection No. 3 from the distribution target. Upon receiving this deletion instruction, the connection distribution function unit 5 performs distribution processing to newly exclude the TCP connection number 3.

図5は、受信バッファ4内の蓄積データ量が、上限閾値P〜下限閾値Q間の状態を示している。ここではTCP多重度数制御信号は振分制御部6に送出されることはなく、振分対象に変化は生じない(振分対象は、TCPコネクション1番〜3番のまま)。   FIG. 5 shows a state in which the amount of data stored in the reception buffer 4 is between the upper limit threshold P and the lower limit threshold Q. Here, the TCP multiplicity control signal is not sent to the distribution control unit 6, and no change occurs in the distribution target (the distribution target remains the TCP connection Nos. 1 to 3).

図6は、受信バッファ4内の蓄積データ量が、矢印Rに示すように減少し、下限閾値Qを下回った状態を示している。ここではTCP多重度制御信号が振分制御部6に送出され、該振分制御部6はコネクション振分機能部5にTCPコネクション4番を振分対象に追加する追加指示を送出する。この追加指示を受け取ったコネクション振分機能部5は、新たにTCPコネクション4番を追加する振分処理を行う。なお、TCPコネクション数の追加は、スループットの増加に反映されるコネクション数の範囲内(図6中では説明の便宜上4本としている。)に制御されている。   FIG. 6 shows a state in which the amount of data stored in the reception buffer 4 decreases as indicated by the arrow R and falls below the lower limit threshold Q. Here, a TCP multiplicity control signal is sent to the distribution control unit 6, and the distribution control unit 6 sends an addition instruction for adding the TCP connection No. 4 to the distribution target to the connection distribution function unit 5. Upon receiving this addition instruction, the connection distribution function unit 5 performs distribution processing for newly adding a TCP connection No. 4. The addition of the number of TCP connections is controlled within the range of the number of connections reflected in the increase in throughput (in FIG. 6, for convenience of explanation, the number is four).

このようにiSCSIイニシエータに組み込むiSCSI(Read)コマンドのTCPコネクションへの振り分け機能により、アプリケーションに依存することなく、iSCSIターゲットに蓄積されるデータのビデオサーバからの出力レートに整合したiSCSI読み込み速度の調整が可能となる。   As described above, the function of distributing the iSCSI (Read) command incorporated in the iSCSI initiator to the TCP connection adjusts the iSCSI reading speed in accordance with the output rate from the video server of the data stored in the iSCSI target without depending on the application. Is possible.

これにより読み出しスループットが安定し、ビデオサーバ上のアプリケーションが必要とする入力レートに十分なデータアクセスを実現しつつ、他のiSCSIターゲットへのアクセスに与える影響を最小限に抑えることができる。   As a result, the read throughput is stabilized, and the data access sufficient for the input rate required by the application on the video server is realized, while the influence on the access to other iSCSI targets can be minimized.

なお、本発明は、前記実施形態に限定されるものではなく、例えばiSCSI(Read)コマンドだけではなく、iSCSI(Write)コマンドについても同様の効果が期待できる。   The present invention is not limited to the above-described embodiment. For example, the same effect can be expected not only for an iSCSI (Read) command but also for an iSCSI (Write) command.

また、本発明は、コネクション振分機能部5・振分制御部6を組み込んだiSCSIイニシエータ1としてコンピュータを機能させるプログラムとしても構成することができる。この場合には、該プログラムをコンピュータの処理部(例えばCPUなど)が読み込んで図3中の各動作処理が実行される。   The present invention can also be configured as a program for causing a computer to function as the iSCSI initiator 1 incorporating the connection distribution function unit 5 and the distribution control unit 6. In this case, the program is read by a processing unit (for example, CPU) of the computer, and each operation process in FIG. 3 is executed.

このプログラムは、Webサイトや電子メールなどネットワークを通じて提供することができる。また、前記プログラムは、CD−ROM,DVD−ROM,CD−R,CD−RW,DVD−R,DVD−RW,MO,HDD,Blu−ray Disk(登録商標)などの記録媒体に記録して、保存・配布することも可能である。この記録媒体は、記録媒体駆動装置を利用して読み出され、そのプログラムコード自体が前記実施形態の処理を実現するので、該記録媒体も本発明を構成する。   This program can be provided through a network such as a website or e-mail. The program is recorded on a recording medium such as a CD-ROM, DVD-ROM, CD-R, CD-RW, DVD-R, DVD-RW, MO, HDD, Blu-ray Disk (registered trademark). It is also possible to save and distribute. This recording medium is read using a recording medium driving device, and the program code itself realizes the processing of the above embodiment, so that the recording medium also constitutes the present invention.

現在、インターネット上では動画等の共有サーバが存在し、一つのサービス領域を形成している。ここではサーバが集中管理可能なストレージ容量は有限であり投稿される動画には、ほとんどアクセスがないものも含まれる。   Currently, there is a shared server for moving images and the like on the Internet, forming one service area. Here, the storage capacity that can be centrally managed by the server is limited, and the posted videos include those that have almost no access.

そこで、DVDプレイヤーにDVD媒体を必要に応じて装着するように、ネットワーク上のストレージをオンデマンドでネットワークをとおして接続し、動画再生する形態が考えられる。   In view of this, it is conceivable to connect the storage on the network through the network on demand so as to mount the DVD medium on the DVD player as necessary, and reproduce the moving image.

このような形態のもとで、iSCSIストレージ装置をDVD媒体に相当するオンデマンドメディアとして利用すると、サーバにとっては、同時に接続されるiSCSIストレージ装置毎に蓄積される動画の再生レートに整合した、安定的なスループットが提供されることが望ましい。   If the iSCSI storage device is used as an on-demand medium corresponding to a DVD medium in such a form, the server is stable and consistent with the playback rate of moving images stored in each iSCSI storage device connected simultaneously. It is desirable to provide a reasonable throughput.

従来は、ストレージ装置からの読み出しはアプリケーションが担っており、制御方法は高速性のみが評価基準であったため、特定のストレージとのスループットが突出し、サービス提供の公平性が図れないおそれがある。本発明は、特にネットワークを介したジュークボックスのようなビデオサーバでのサービス提供の公平性に効果を有する。   Conventionally, the application is responsible for reading from the storage device, and only the high speed of the control method is an evaluation criterion. Therefore, the throughput with a specific storage is prominent, and the fairness of service provision may not be achieved. The present invention is particularly effective for fairness of service provision in a video server such as a jukebox via a network.

1…iSCSIイニシエータ
2…iSCSIターゲット(iSCSIデバイス)
3…ビデオサーバ(iSCSIホスト装置)
4…受信バッファ
5…コネクション振分機能部
6…振分制御部
P…上限閾値
Q…下限閾値
1 ... iSCSI initiator 2 ... iSCSI target (iSCSI device)
3 ... Video server (iSCSI host device)
4 ... Reception buffer 5 ... Connection distribution function unit 6 ... Distribution control unit P ... Upper threshold Q: Lower threshold

Claims (7)

iSCSIセッションするiSCSIホスト装置とiSCSIデバイス装置のTCPコネクション数を前記ホスト装置に構築されたイニシエータをもって制御する方法であって、
iSCSIセッションを通じて受信するデータを一時蓄積する前記ホスト装置の受信バッファ内の蓄積データ量に応じて、該セッション内のTCPコネクション数を増減させる
ことを特徴とするiSCSIセッションのTCPコネクション数制御方法。
A method of controlling the number of TCP connections between an iSCSI host device and an iSCSI device device having an iSCSI session with an initiator built in the host device,
A method for controlling the number of TCP connections in an iSCSI session, wherein the number of TCP connections in the session is increased or decreased according to the amount of data stored in the reception buffer of the host device that temporarily stores data received through the iSCSI session.
前記受信バッファに設定した閾値と前記蓄積データ量との関係を用いてTCPコネクション数の増減を指示する第1ステップと、
前記第1ステップの指示に従ってiSCSIコマンドをTCPコネクションに振り分ける第2ステップと、
を有することを特徴とする請求項1記載のiSCSIセッションのTCPコネクション数制御方法。
A first step of instructing an increase / decrease in the number of TCP connections using a relationship between a threshold set in the reception buffer and the amount of stored data;
A second step of distributing iSCSI commands to TCP connections according to the instructions of the first step;
The method of controlling the number of TCP connections for an iSCSI session according to claim 1, wherein:
前記第1ステップは、前記蓄積データ量が前記受信バッファの上限閾値を超えた場合にTCPコネクション数の減少を指示する一方、
前記受信バッファの下限閾値を下回った場合にTCPコネクション数の増加を指示する
ことを特徴とする請求項2記載のiSCSIセッションのTCPコネクション数制御方法
The first step instructs to reduce the number of TCP connections when the accumulated data amount exceeds the upper threshold of the reception buffer,
3. The method for controlling the number of TCP connections in an iSCSI session according to claim 2, wherein an increase in the number of TCP connections is instructed when a value falls below a lower threshold of the reception buffer.
iSCSiデバイス装置とiSCSiセッションするイニシエータが構築されたiSCSiホスト装置において、
前記イニシエータにiSCSIセッションを通じて受信するデータを一時蓄積する受信バッファ内の蓄積データ量に応じて、該セッション内のTCPコネクション数を増減させる手段を設けた
ことを特徴とするiSCSIホスト装置。
In the iSCSI host device in which an initiator that performs an iSCSI session with the iSCSI device is constructed,
An iSCSI host device comprising means for increasing / decreasing the number of TCP connections in a session according to the amount of data stored in a reception buffer for temporarily storing data received through an iSCSI session in the initiator.
前記イニシエータは、前記受信バッファに設定した閾値と前記蓄積データ量との関係を用いてTCPコネクション数の増減を指示する振分制御部と、
前記振分制御部の指示に従ってiSCSIコマンドをTCPコネクションに振り分ける振分機能部と、
を有することを特徴とする請求項4記載のiSCSIホスト装置。
The initiator uses a relationship between a threshold value set in the reception buffer and the amount of stored data, and instructs a distribution control unit to increase or decrease the number of TCP connections;
A distribution function unit that distributes iSCSI commands to TCP connections in accordance with instructions from the distribution control unit;
5. The iSCSI host device according to claim 4, further comprising:
前記振分制御部は、前記蓄積データ量が前記受信バッファの上限閾値を超えた場合にTCPコネクション数の減少を指示する一方、
前記受信バッファの下限閾値を下回った場合にTCPコネクション数の増加を指示する
ことを特徴とする請求項5記載のiSCSIホスト装置。
The distribution control unit instructs to reduce the number of TCP connections when the accumulated data amount exceeds the upper limit threshold of the reception buffer,
The iSCSI host device according to claim 5, wherein an increase in the number of TCP connections is instructed when a value falls below a lower limit threshold of the reception buffer.
請求項4〜6のいずれか1項に記載のiSCSIホスト装置としてコンピュータを機能させるためのイニシエータ構成プログラム。   An initiator configuration program for causing a computer to function as the iSCSI host device according to any one of claims 4 to 6.
JP2009040769A 2009-02-24 2009-02-24 Method for controlling number of tcp connections of iscsi session, iscsi host device, and configuration program for iscsi initiator Pending JP2010198187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009040769A JP2010198187A (en) 2009-02-24 2009-02-24 Method for controlling number of tcp connections of iscsi session, iscsi host device, and configuration program for iscsi initiator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009040769A JP2010198187A (en) 2009-02-24 2009-02-24 Method for controlling number of tcp connections of iscsi session, iscsi host device, and configuration program for iscsi initiator

Publications (1)

Publication Number Publication Date
JP2010198187A true JP2010198187A (en) 2010-09-09

Family

ID=42822872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009040769A Pending JP2010198187A (en) 2009-02-24 2009-02-24 Method for controlling number of tcp connections of iscsi session, iscsi host device, and configuration program for iscsi initiator

Country Status (1)

Country Link
JP (1) JP2010198187A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012253765A (en) * 2011-05-31 2012-12-20 Samsung Sds Co Ltd Method and apparatus for controlling stream to receive data in parallel
JP2013537009A (en) * 2010-08-31 2013-09-26 キヤノン株式会社 Mechanism for auto-tuning large data transfers from transmitter to receiver via parallel connection

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013537009A (en) * 2010-08-31 2013-09-26 キヤノン株式会社 Mechanism for auto-tuning large data transfers from transmitter to receiver via parallel connection
JP2012253765A (en) * 2011-05-31 2012-12-20 Samsung Sds Co Ltd Method and apparatus for controlling stream to receive data in parallel

Similar Documents

Publication Publication Date Title
US7177912B1 (en) SCSI transport protocol via TCP/IP using existing network hardware and software
US8726327B2 (en) System and method for peer-to-peer live streaming
US20060235901A1 (en) Systems and methods for dynamic burst length transfers
CA2814706C (en) Dynamically enabling and disabling write xfr_rdy
US20080010647A1 (en) Network storage device
US8942094B2 (en) Credit-based network congestion management
JP5204195B2 (en) Data transmission system and data transmission program
US20110106518A1 (en) System and method of network emlation for test of on-line server processing heavy traffic
US20050210144A1 (en) Load balancing method and system
US20070147390A1 (en) Hardware acceleration apparatus for iSCSI target system using TOE and method for performing read/write command using the apparatus
US20030095783A1 (en) Methods and apparatus for generating multiple network streams from a large scale memory buffer
US20100235571A1 (en) Storage apparatus, relay device, and method for controlling command issue
CA2829554A1 (en) Data transferring apparatus, data transmission system and data transmitting method
US8856405B2 (en) Connection apparatus, storage apparatus, and computer-readable recording medium having connection request transmission control program recorded therein
CN102843284A (en) iSCSI storage node, framework and read-write method
US8024460B2 (en) Performance management system, information processing system, and information collecting method in performance management system
JP2010198187A (en) Method for controlling number of tcp connections of iscsi session, iscsi host device, and configuration program for iscsi initiator
US7890655B2 (en) Storage area network port based data transfer acceleration
US9594714B2 (en) Multi-channel storage system supporting a multi-command protocol
US20080126599A1 (en) Iscsi target apparatus that does not require creating a buffer in the user space and related method thereof
WO2006036468A1 (en) Method and system for optimizing data transfer in networks
US7392333B2 (en) Fibre channel environment supporting serial ATA devices
JP2009080642A (en) Load control method, device and program
US20090216886A1 (en) Method of multi-path accessing remote logic device under linux system
CN102868684A (en) Fiber channel target and realizing method thereof

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20100616