JP2020053013A - 要求処理方法及び装置 - Google Patents
要求処理方法及び装置 Download PDFInfo
- Publication number
- JP2020053013A JP2020053013A JP2019125656A JP2019125656A JP2020053013A JP 2020053013 A JP2020053013 A JP 2020053013A JP 2019125656 A JP2019125656 A JP 2019125656A JP 2019125656 A JP2019125656 A JP 2019125656A JP 2020053013 A JP2020053013 A JP 2020053013A
- Authority
- JP
- Japan
- Prior art keywords
- virtual machine
- processing
- work queue
- processing thread
- work
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5083—Techniques for rebalancing the load in a distributed system
- G06F9/5088—Techniques for rebalancing the load in a distributed system involving task migration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45579—I/O management, e.g. providing access to device drivers or storage
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5018—Thread allocation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Bus Control (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
Claims (10)
- 要求処理方法であって、
仮想マシンの起動に応答して、仮想マシンのデバイス毎に、仮想マシンのデバイスに対応する一つの処理スレッドにバインディングされたデバイスの作業キューの数を示す作業キュー数情報を取得することであって、前記数は一つ又は複数である、ことと、
仮想マシンのデバイス毎の作業キュー数情報に基づいて、前記仮想マシンのデバイス毎に対応する処理スレッドをそれぞれ構築することであって、前記仮想マシンのデバイス毎に対応する処理スレッドは、前記処理スレッドにバインディングされたデバイスの作業キューにおける仮想マシンのデバイスに対するアクセス要求を処理するためのものである、ことと、
を含む方法。 - 仮想マシンの作業キュー数情報に示される、仮想マシンのデバイスに対応する一つの処理スレッドにバインディングされたデバイスの作業キューの数は、前記デバイスのデバイスタイプに対応する所定数である、請求項1に記載の方法。
- 前記方法は、
デバイスタイプに対応する所定数を確定するための候補数のそれぞれに対して、候補数に基いて、前記デバイスタイプのデバイスに対応する処理スレッドを構築し、所定のテスト条件での前記デバイスのプロセッサ使用率を取得し、取得されたプロセッサ使用率を候補数に対応するプロセッサ使用率とすることであって、構築された処理スレッドは、所定のテスト条件において前記デバイスの作業キューにおける前記デバイスに対するアクセス要求を処理するためのものである、ことと、
対応するプロセッサ使用率が最も大きい候補数を、前記デバイスタイプに対応する所定数とすることと、を更に含む請求項2に記載の方法。 - 前記方法は、
ユーザの配置操作に基づいて生成された配置指令を受信することであって、前記配置指令は、デバイスタイプ標識と配置数とを含む、ことと、
前記配置数を、前記デバイスタイプ標識を有するデバイスタイプに対応する所定数とすることと、を更に含む請求項3に記載の方法。 - 要求処理装置であって、
仮想マシンの起動に応答して、仮想マシンのデバイス毎に、仮想マシンのデバイスに対応する一つの処理スレッドにバインディングされたデバイスの作業キューの数を示す作業キュー数情報を取得するように配置される取得ユニットであって、前記数は一つ又は複数である、取得ユニットと、
仮想マシンのデバイス毎の作業キュー数情報に基づいて、前記仮想マシンのデバイス毎に対応する処理スレッドをそれぞれ構築するように配置される構築ユニットであって、前記仮想マシンのデバイス毎に対応する処理スレッドは、前記処理スレッドにバインディングされたデバイスの作業キューにおける仮想マシンのデバイスに対するアクセス要求を処理するためのものである、構築ユニットと、を備える装置。 - 仮想マシンの作業キュー数情報に示される、仮想マシンのデバイスに対応する一つの処理スレッドにバインディングされたデバイスの作業キューの数は、前記デバイスのデバイスタイプに対応する所定数である、請求項5に記載の装置。
- 前記装置は、
デバイスタイプに対応する所定数を確定するための候補数のそれぞれに対して、候補数に基いて、前記デバイスタイプのデバイスに対応する処理スレッドを構築し、所定のテスト条件での前記デバイスのプロセッサ使用率を取得し、取得されたプロセッサ使用率を候補数に対応するプロセッサ使用率とし、対応するプロセッサ使用率が最も大きい候補数を、前記デバイスタイプに対応する所定数とするように配置される所定数確定ユニットであって、構築された処理スレッドは、所定のテスト条件において前記デバイスの作業キューにおける前記デバイスに対するアクセス要求を処理するためのものである、所定数確定ユニットを更に備える請求項6に記載の装置。 - 前記装置は、
ユーザの配置操作に基づいて生成された配置指令を受信し、前記配置数を、前記デバイスタイプ標識を有するデバイスタイプに対応する所定数とするように配置される配置ユニットであって、前記配置指令は、デバイスタイプ標識と配置数とを含む、配置ユニットを更に備える請求項7に記載の装置。 - 一つ又は複数のプロセッサと、
一つ又は複数のプログラムを記憶するためのメモリと、を備え、
前記一つ又は複数のプログラムが前記一つ又は複数のプロセッサにより実行されると、前記一つ又は複数のプロセッサに請求項1〜4の何れか一つに記載の方法を実現させることを特徴とする電子デバイス。 - コンピュータプログラムが記憶されており、当該プログラムがプロセッサにより実行されると、請求項1〜4の何れか一つに記載の方法を実現することを特徴とするコンピュータ読取可能な媒体。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811106831.1 | 2018-09-21 | ||
CN201811106831.1A CN109240802B (zh) | 2018-09-21 | 2018-09-21 | 请求处理方法和装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020053013A true JP2020053013A (ja) | 2020-04-02 |
JP6893531B2 JP6893531B2 (ja) | 2021-06-23 |
Family
ID=65056573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019125656A Active JP6893531B2 (ja) | 2018-09-21 | 2019-07-05 | 要求処理方法及び装置 |
Country Status (4)
Country | Link |
---|---|
US (1) | US11210127B2 (ja) |
JP (1) | JP6893531B2 (ja) |
KR (1) | KR102214981B1 (ja) |
CN (1) | CN109240802B (ja) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112631744A (zh) * | 2019-09-24 | 2021-04-09 | 阿里巴巴集团控股有限公司 | 进程处理方法、装置、电子设备及计算机可读存储介质 |
CN111104218B (zh) * | 2019-11-29 | 2022-04-22 | 北京浪潮数据技术有限公司 | 存储系统数据同步方法、装置、设备及可读存储介质 |
CN113608828B (zh) * | 2021-06-30 | 2023-07-14 | 苏州浪潮智能科技有限公司 | 一种防护方法及其相关设备 |
CN114697215A (zh) * | 2022-03-31 | 2022-07-01 | 西安超越申泰信息科技有限公司 | 一种虚拟化网络性能提升的方法、系统、设备及介质 |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015197874A (ja) * | 2014-04-03 | 2015-11-09 | 日本電信電話株式会社 | 仮想通信路構築システム、仮想通信路構築方法、及び仮想通信路構築プログラム |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7111303B2 (en) * | 2002-07-16 | 2006-09-19 | International Business Machines Corporation | Virtual machine operating system LAN |
US7810083B2 (en) * | 2004-12-30 | 2010-10-05 | Intel Corporation | Mechanism to emulate user-level multithreading on an OS-sequestered sequencer |
KR100809294B1 (ko) * | 2006-03-10 | 2008-03-07 | 삼성전자주식회사 | 가상 머신에서 스레드 스케줄링을 수행하는 장치 및 그방법 |
US8881141B2 (en) * | 2010-12-08 | 2014-11-04 | Intenational Business Machines Corporation | Virtualization of hardware queues in self-virtualizing input/output devices |
CN102591715B (zh) * | 2012-01-05 | 2014-02-12 | 北京航空航天大学 | 一种使用多队列技术的虚拟机网络性能优化的实现方法 |
JP5748349B2 (ja) * | 2012-03-16 | 2015-07-15 | 株式会社日立製作所 | 仮想計算機の制御方法及び仮想計算機システム |
CN103116517B (zh) * | 2013-01-24 | 2016-09-14 | 华为技术有限公司 | 虚拟化平台下i/o通道的调整方法和调整装置 |
US9262192B2 (en) * | 2013-12-16 | 2016-02-16 | Vmware, Inc. | Virtual machine data store queue allocation |
JP6447217B2 (ja) * | 2015-02-17 | 2019-01-09 | 富士通株式会社 | 実行情報通知プログラム、情報処理装置および情報処理システム |
KR101638136B1 (ko) * | 2015-05-14 | 2016-07-08 | 주식회사 티맥스 소프트 | 멀티 스레드 구조에서 작업 분배 시 스레드 간 락 경쟁을 최소화하는 방법 및 이를 사용한 장치 |
CN104980438B (zh) * | 2015-06-15 | 2018-07-24 | 中国科学院信息工程研究所 | 一种虚拟化环境中数字证书撤销状态检查的方法和系统 |
EP3206124B1 (en) * | 2015-10-21 | 2020-01-08 | Huawei Technologies Co., Ltd. | Method, apparatus and system for accessing storage device |
US10635474B2 (en) * | 2016-05-09 | 2020-04-28 | Marvell Asia Pte, Ltd. | Systems and methods for virtio based optimization of data packet paths between a virtual machine and a network device for live virtual machine migration |
US10620992B2 (en) | 2016-08-29 | 2020-04-14 | TidalScale, Inc. | Resource migration negotiation |
US10733112B2 (en) * | 2017-06-16 | 2020-08-04 | Alibaba Group Holding Limited | Method and apparatus for hardware virtualization |
-
2018
- 2018-09-21 CN CN201811106831.1A patent/CN109240802B/zh active Active
-
2019
- 2019-07-01 US US16/458,337 patent/US11210127B2/en active Active
- 2019-07-05 JP JP2019125656A patent/JP6893531B2/ja active Active
- 2019-07-11 KR KR1020190083624A patent/KR102214981B1/ko active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015197874A (ja) * | 2014-04-03 | 2015-11-09 | 日本電信電話株式会社 | 仮想通信路構築システム、仮想通信路構築方法、及び仮想通信路構築プログラム |
Non-Patent Citations (1)
Title |
---|
ZHANG, DIMING ET AL.: "High Performance and Scalable Virtual Machine Storage I/O Stack for Multicore System", PROCEEDINGS OF 2017 IEEE 23RD INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS, JPN6020036941, December 2017 (2017-12-01), US, pages 292 - 301, XP033351476, ISSN: 0004356177, DOI: 10.1109/ICPADS.2017.00047 * |
Also Published As
Publication number | Publication date |
---|---|
US20200097314A1 (en) | 2020-03-26 |
CN109240802A (zh) | 2019-01-18 |
JP6893531B2 (ja) | 2021-06-23 |
CN109240802B (zh) | 2022-02-18 |
US11210127B2 (en) | 2021-12-28 |
KR20200034572A (ko) | 2020-03-31 |
KR102214981B1 (ko) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10042669B2 (en) | Concurrent execution of a computer software application along multiple decision paths | |
JP2020053013A (ja) | 要求処理方法及び装置 | |
US9471386B2 (en) | Allocating resources to tasks in a build process | |
US9170840B2 (en) | Duration sensitive scheduling in a computing environment | |
US9354952B2 (en) | Application-driven shared device queue polling | |
US10216517B2 (en) | Clearing specified blocks of main storage | |
JP2012064206A (ja) | 仮想グラフィックス処理ユニットの使用の最適化方法、装置及びプログラム | |
CN107918555B (zh) | 基于物理主机的用于处理数据的方法和装置 | |
US10318343B2 (en) | Migration methods and apparatuses for migrating virtual machine including locally stored and shared data | |
CN115033352A (zh) | 多核处理器任务调度方法、装置及设备、存储介质 | |
CN110673959A (zh) | 用于处理任务的系统、方法和装置 | |
US9703614B2 (en) | Managing a free list of resources to decrease control complexity and reduce power consumption | |
US10235264B2 (en) | Method and system for monitoring health of a virtual environment | |
US10528397B2 (en) | Method, device, and non-transitory computer readable storage medium for creating virtual machine | |
US9977730B2 (en) | System and method for optimizing system memory and input/output operations memory | |
US8553690B2 (en) | Processing multicast messages in a data processing system | |
US10089265B2 (en) | Methods and systems for handling interrupt requests | |
US20180060315A1 (en) | Performing file system maintenance | |
CN115242632A (zh) | 物理资源处理方法、装置、设备、介质及产品 | |
WO2023146604A1 (en) | Distributed accelerator | |
KR102055617B1 (ko) | 운영 체제에서 수행되는 프로세스의 가상 주소 공간을 확장하는 방법 및 시스템 | |
KR20200132535A (ko) | 오프로딩을 수행하기 위한 모바일 장치 및 그 동작 방법 | |
CN111209103A (zh) | 一种进程任务调度方法、装置及设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190705 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190705 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200826 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200930 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210521 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210601 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6893531 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |