Managing Quality of Service in a Network File Sharing Environment

By partitioning resources within the NFS platform and allocating them according to application priorities, the problem of performance degradation of high-priority applications in the NFS system is solved and the overall system performance is improved.

CN112231282BActive Publication Date: 2024-10-29INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202010673028.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-14
Publication Date
2024-10-29
Estimated Expiration
2040-07-14

AI Technical Summary

Technical Problem

The existing Network File Sharing System (NFS) fails to effectively implement the Quality of Service (QoS) function, resulting in performance degradation of high-priority client applications and affecting the performance of the entire system.

Method used

Through multiple export partition resources within the NFS platform, the resources of the network file system are partitioned into multiple areas, and resources are allocated in these areas according to the application request information to ensure that high-priority applications obtain sufficient resources.

Benefits of technology

It realizes priority in resource allocation for high-priority applications, improves their performance, and improves the performance of the entire system through dynamic resource allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112231282B_ABST
    Figure CN112231282B_ABST
Patent Text Reader

Abstract

The present invention relates to managing quality of service in a network file sharing environment. A computer-implemented method according to one embodiment includes: partitioning resources of a network file system (NFS) platform into multiple regions based on multiple exits in the NFS platform; receiving a request from a first application to utilize resources of the NFS platform at one of the exits in the NFS platform; and allocating a predetermined portion of the resources to the first application in one of the multiple regions based on information included in the request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to network file sharing, and more particularly, the present invention relates to implementing quality of service metrics in a network file sharing environment. Background Art

[0002] Network file sharing (NFS) is commonly used to achieve centralized management and availability of data and resources. NFS servers can reside on-premises or in cloud data centers, where they are provided as NFS as a service (NFSaaS). However, current NFS implementations do not implement quality of service (QoS) features internally. As a result, high-priority client applications that require fast I / O performance may be treated as low-priority client applications that do not require such performance. This may degrade the performance of such applications, as well as the performance of the entire system. Summary of the invention

[0003] A computer-implemented method according to one embodiment includes: partitioning resources of a Network File System (NFS) platform into multiple areas based on multiple exits within the NFS platform; receiving a request from a first application to utilize resources of the NFS platform at an exit within the NFS platform; and allocating a predetermined portion of the resources to the first application within one of the multiple areas based on information included in the request.

[0004] According to another embodiment, a computer program product for managing quality of service in a network file sharing environment includes a computer-readable storage medium having program instructions contained therein, wherein the computer-readable storage medium itself is not a temporary signal, and wherein the program instructions can be executed by a processor so that the processor performs a method, the method including partitioning, by the processor, resources of a network file system (NFS) platform into multiple areas based on multiple exits within the NFS platform; receiving, by the processor at an exit within the NFS platform, a request from a first application to utilize resources of the NFS platform; and allocating, by the processor, a predetermined portion of the resources to the first application within one of the multiple areas based on information included in the request.

[0005] According to another embodiment, a system includes a processor; and logic integrated with the processor, executable by the processor, or integrated with the processor and executable by the processor, wherein the logic is configured to partition resources of a network file system (NFS) platform into multiple areas based on multiple exits within the NFS platform; receive a request from a first application to utilize resources of the NFS platform at an exit within the NFS platform; and allocate a predetermined portion of the resources to the first application within one of the multiple areas based on information included in the request.

[0006] Other aspects and embodiments of the invention will become apparent from the following detailed description, which, taken in conjunction with the accompanying drawings, illustrate by way of example the principles of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 A cloud computing environment according to one embodiment of the present invention is depicted.

[0008] Figure 2 An abstract model layer according to one embodiment of the present invention is depicted.

[0009] Figure 3 A cloud computing node according to one embodiment of the present invention is depicted.

[0010] Figure 4 A hierarchical data storage system according to an embodiment of the present invention is shown.

[0011] Figure 5 A flow chart of a method for managing quality of service in a network file sharing environment according to an embodiment of the present invention is shown.

[0012] Figure 6 An exemplary NFSaaS hosting environment providing end-to-end Quality of Service (QoS) according to one embodiment of the present invention is shown.

[0013] Figure 7 A flow chart of a method for implementing QoS at a client according to an embodiment of the present invention is shown.

[0014] Figure 8 A flow chart of a method for partitioning and allocating NFS resources according to an embodiment of the present invention is shown.

[0015] Fig. 9 A flow chart of a method for implementing storage layer priority of NFS resources according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0016] The following description is intended to illustrate the general principles of the present invention and is not meant to limit the inventive concepts claimed herein.In addition, the specific features described herein can be used in combination with other described features in each of the various possible combinations and permutations.

[0017] Unless otherwise specifically defined herein, all terms are to be given their broadest possible interpretations, including the meanings implied by the specification and as understood by those skilled in the art and / or defined in dictionaries, treatises, and the like.

[0018] It must also be noted that, as used in the specification and the appended claims, the singular forms "a", "an", and "the" include plural references unless otherwise indicated. It should also be understood that when used in this specification, the terms "include" and / or "comprise" specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or combinations thereof.

[0019] The following description discloses several embodiments for managing quality of service in a network file sharing environment.

[0020] In a general embodiment, a computer-implemented method includes: partitioning resources of a Network File System (NFS) platform into multiple areas based on multiple exports within the NFS platform; receiving resources from a first application that utilizes the NFS platform at an export within the NFS platform; and allocating a predetermined portion of the resources to the first application within one of the multiple areas based on information included in the request.

[0021] In another general embodiment, a computer program product for managing quality of service in a network file sharing environment includes a computer-readable storage medium having program instructions contained therein, wherein the computer-readable storage medium itself is not a temporary signal, and wherein the program instructions are executable by a processor to cause the processor to perform a method, the method comprising partitioning, by the processor, resources of a network file system (NFS) platform into multiple areas based on multiple exits within the NFS platform; receiving, by the processor at an exit within the NFS platform, a request from a first application to utilize resources of the NFS platform; and allocating, by the processor, a predetermined portion of the resources to the first application within one of the multiple areas based on information included in the request.

[0022] In another general embodiment, a system includes a processor; and logic integrated with the processor, executable by the processor, or integrated with the processor and executable by the processor, wherein the logic is configured to partition resources of a network file system (NFS) platform into multiple areas based on multiple exits within the NFS platform; receive a request from a first application to utilize resources of the NFS platform at an exit within the NFS platform; and allocate a predetermined portion of the resources to the first application within one of the multiple areas based on information included in the request.

[0023] First, it should be understood that although the present disclosure includes a detailed description about cloud computing, the implementation of the technical solutions recorded therein is not limited to a cloud computing environment, but can be implemented in combination with any other type of computing environment now known or later developed.

[0024] Cloud computing is a service delivery model for convenient, on-demand network access to a shared pool of configurable computing resources. Configurable computing resources are resources that can be quickly deployed and released with minimal management cost or interaction with the service provider, such as networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services. This cloud model can include at least five characteristics, at least three service models, and at least four deployment models.

[0025] Features include:

[0026] On-demand self-service: Cloud consumers can unilaterally and automatically deploy computing capabilities such as server time and network storage on demand without human interaction with the service provider.

[0027] Broad network access: Computing power can be accessed over the network through standard mechanisms that facilitate the use of the cloud through different types of thin-client or thick-client platforms (e.g., mobile phones, laptops, personal digital assistants (PDAs)).

[0028] Resource pool: The computing resources of the provider are grouped into resource pools and serve multiple consumers through a multi-tenant model, where different physical and virtual resources are dynamically allocated and reallocated on demand. Generally, consumers cannot control or even know the exact location of the provided resources, but can specify the location (such as country, state or data center) at a higher level of abstraction, so it is location-independent.

[0029] Rapid elasticity: The ability to quickly and elastically (sometimes automatically) deploy computing power to scale up quickly, and quickly release it to scale down quickly. To consumers, the computing power available for deployment often appears to be unlimited, and any amount of computing power can be accessed at any time.

[0030] Measurable services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at a level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both service providers and consumers.

[0031] The service model is as follows:

[0032] Software as a Service (SaaS): The capability provided to consumers is to use the provider's applications running on a cloud infrastructure. Applications can be accessed from a variety of client devices through a thin client interface such as a web browser (e.g., web-based email). Aside from limited user-specific application configuration settings, consumers neither manage nor control the underlying cloud infrastructure including networks, servers, operating systems, storage, or even individual application capabilities.

[0033] Platform as a Service (PaaS): The capability provided to consumers is to deploy applications created or acquired by consumers on the cloud infrastructure, which are created using programming languages ​​and tools supported by the provider. Consumers neither manage nor control the underlying cloud infrastructure including networks, servers, operating systems or storage, but have control over the applications they deploy and may also have control over the configuration of the application hosting environment.

[0034] Infrastructure as a Service (IaaS): The capabilities provided to consumers are processing, storage, network, and other basic computing resources on which consumers can deploy and run arbitrary software including operating systems and applications. Consumers neither manage nor control the underlying cloud infrastructure, but have control over the operating system, storage, and applications they deploy, and may have limited control over selected network components (such as host firewalls).

[0035] The deployment model is as follows:

[0036] Private Cloud: Cloud infrastructure is run solely for an organization. The cloud infrastructure can be managed by the organization or a third party and can exist inside or outside the organization.

[0037] Community Cloud: A cloud infrastructure is shared by several organizations and supports a specific community with common interests (e.g., mission, security requirements, policies, and compliance considerations). A community cloud can be managed by multiple organizations within the community or by a third party and can exist inside or outside the community.

[0038] Public cloud: Cloud infrastructure is provided to the public or to large industry groups and is owned by an organization that sells cloud services.

[0039] Hybrid cloud: A cloud infrastructure consisting of two or more clouds (private, community or public) in a deployment model that remain distinct entities but are bound together by standardized or proprietary technologies (such as cloud burst sharing for load balancing between clouds) that enable data and application portability.

[0040] The cloud computing environment is service-oriented, with characteristics centered on statelessness, low coupling, modularity, and semantic interoperability. The core of cloud computing is the infrastructure that includes a network of interconnected nodes.

[0041] Reference now Figure 1 , depicting an illustrative cloud computing environment 50. As shown, the cloud computing environment 50 includes one or more cloud computing nodes 10, and local computing devices used by cloud consumers, such as, for example, personal digital assistants (PDAs) or cellular phones 54A, desktop computers 54B, laptop computers 54C, and / or automotive computer systems 54N, can communicate with the cloud computing nodes 10. The nodes 10 can communicate with each other. They can be physically or virtually grouped (not shown) in one or more networks, such as private, community, public, or hybrid clouds, or combinations thereof, as described above. This allows the cloud computing environment 50 to provide infrastructure, platform, and / or software as a service for which cloud consumers do not need to maintain resources on local computing devices. It should be understood that Figure 1 The types of computing devices 54A-N shown in are illustrative only, and computing node 10 and cloud computing environment 50 may communicate with any type of computerized device over any type of network and / or network-addressable connection (eg, using a web browser).

[0042] Reference now Figure 2 , showing the cloud computing environment 50 ( Figure 1 ) provides a set of functional abstraction layers. It should be understood in advance that Figure 2 The components, layers and functions shown in are only illustrative, and embodiments of the present invention are not limited thereto. As shown in the figure, the following layers and corresponding functions are provided.

[0043] The hardware and software layer 60 includes hardware and software components. Examples of hardware components include: mainframes 61; servers based on RISC (Reduced Instruction Set Computer) architecture 62; servers 63; blade servers 64; storage devices 65; and network and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.

[0044] Virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities can be provided: virtual servers 71; virtual storage 72; virtual networks 73, including virtual private networks; virtual applications and operating systems 74; and virtual clients 75.

[0045] In one example, the management layer 80 may provide the functionality described below. Resource provisioning 81 provides dynamic acquisition of computing resources and other resources for performing tasks in a cloud computing environment. Metering and pricing 82 provides cost tracking when resources are utilized within a cloud computing environment and bills or invoices the consumption of these resources. In one example, these resources may include application software licenses. Security provides authentication for cloud consumers and tasks and protects data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides cloud computing resource allocation and management to meet the required service levels. Service Level Agreement (SLA) planning and implementation 85 provides pre-arrangement and procurement of cloud computing resources in anticipation of future demand according to the SLA.

[0046] The workload layer 90 provides examples of functions that can take advantage of a cloud computing environment. Examples of workloads and functions that can be provided from this layer include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom education delivery 93; data analytics processing 94; transaction processing 95; and NFS / NFSaaS 96.

[0047] Reference now Figure 3 , which shows an example of a cloud computing node. Figure 1 The cloud computing node 10 shown is only an example of a suitable cloud computing node and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. In short, the cloud computing node 10 can be used to implement and / or perform any of the functions described above.

[0048] The cloud computing node 10 has a computer system / server 12, which can operate with many other general or special computing system environments or configurations. As is well known, examples of computing systems, environments and / or configurations suitable for operating with the computer system / server 12 include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.

[0049] Computer system / server 12 may be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. In general, program modules may include routines, programs, object programs, components, logic, data structures, etc. that perform specific tasks or implement specific abstract data types. Computer system / server 12 may be implemented in a distributed cloud computing environment where remote processing devices linked through a communication network perform tasks. In a distributed cloud computing environment, program modules may be located on local or remote computing system storage media including storage devices.

[0050] like Figure 3 As shown, the computer system / server 12 in the cloud computing node 10 is presented in the form of a general-purpose computing device. The components of the computer system / server 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).

[0051] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0052] Computer system / server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer system / server 12, including volatile and nonvolatile media, removable and non-removable media.

[0053] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer system / server 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 1 not shown, usually called a "hard drive"). Although Figure 1Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0054] A program / utility 40 having a set (at least one) of program modules 42 may be stored in the memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0055] Reference now Figure 4 , shows a storage system 400 according to one embodiment. Note that according to various embodiments, Figure 4 Some of the elements shown may be implemented as hardware and / or software. The storage system 400 may include a storage system manager 412 for communicating with multiple media on at least one higher storage layer 402 and at least one lower storage layer 406. The (multiple) higher storage layers 402 may preferably include one or more random access and / or direct access media 404, such as hard disks in hard disk drives (HDDs), non-volatile memory (NVM), solid state memory in solid state drives (SSDs), flash memory, SSD arrays, flash memory arrays, etc., and / or other technologies mentioned herein or known in the art. The (multiple) lower storage layers 406 may preferably include one or more lower performance storage media 408, including sequential access media, such as tapes in tape drives and / or optical media, slower access HDDs, slower access SSDs, etc., and / or other technologies mentioned herein or known in the art. One or more additional storage layers 416 may include any combination of storage memory media desired by the designer of the system 400. In addition, any higher storage layer 402 and / or lower storage layer 406 may include some combination of storage devices and / or storage media.

[0056] Storage system manager 412 can access network 410 (such as Figure 4The storage system manager 412 may communicate with the storage media 404, 408 on the upper storage tier 402 and the lower storage tier 406 via a storage area network (SAN) or some other suitable network type as shown. The storage system manager 412 may also communicate with one or more host systems (not shown) via a host interface 414, which may or may not be part of the storage system manager 412. The storage system manager 412 and / or any other components of the storage system 400 may be implemented in hardware and / or software, and may utilize a processor (not shown) to execute commands of a type known in the art, such as a central processing unit (CPU), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc. Of course, any arrangement of storage systems may be used, as will be apparent to those skilled in the art after reading this specification.

[0057] In further embodiments, the storage system 400 may include any number of data storage layers, and may include the same or different storage memory media within each storage layer. For example, each data storage layer may include the same type of storage memory media, such as HDD, SSD, sequential access media (tapes in tape drives, optical disks in optical disk drives, etc.), direct access media (CD-ROM, DVD-ROM, etc.), or any combination of media storage types. In one such configuration, the higher storage layer 402 may include most of the SSD storage media for storing data in a higher performance storage environment, while the remaining storage layers including the lower storage layer 406 and the additional storage layer 416 may include any combination of SSD, HDD, tape drives, etc., for storing data in a lower performance storage environment. In this way, more frequently accessed data, data with a higher priority, data that requires faster access, etc. can be stored in the higher storage layer 402, while data that does not have one of these attributes can be stored in the additional storage layer 416 including the lower storage layer 406. Of course, according to the embodiments given herein, those skilled in the art, after reading this specification, can design many other combinations of storage media types to implement different storage schemes.

[0058] According to some embodiments, a storage system such as 400 may include logic configured to receive a request to open a data set, logic configured to determine whether the requested data set is stored in multiple associated parts to a lower storage tier 406 of the tiered data storage system 400, logic configured to move each associated part of the requested data set to a higher storage tier 402 of the tiered data storage system 400, and logic configured to assemble the requested data set on the higher storage tier 402 of the tiered data storage system 400 from the associated parts.

[0059] Of course, according to various embodiments, the logic may be implemented as a method or computer program product on any device and / or system.

[0060] Reference now Figure 5 , a flow chart of a method 500 according to an embodiment is shown. In various embodiments, the method 500 may be performed according to the present invention. Figure 1-4 and Figure 6 Of course, method 500 may include Figure 5 More or less operations specifically described in the description will be understood by those skilled in the art after reading this specification.

[0061] Each step of method 500 may be performed by any suitable component of an operating environment. For example, in various embodiments, method 500 may be performed in part or in whole by one or more servers, computers, or some other device having one or more processors therein. A processor, such as (multiple) processing circuits, (multiple) chips, and / or (multiple) modules implemented in hardware and / or software, and preferably having at least one hardware component, may be used in any device to perform one or more steps of method 500. Exemplary processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc., combinations thereof, or any other suitable computing device known in the art.

[0062] like Figure 5 As shown, method 500 may start from operation 502, where resources of a network file system (NFS) platform are partitioned into a plurality of regions based on a plurality of exports in the NFS platform. In one embodiment, the resources may include storage space available in the NFS platform (e.g., space for storing data available in the NFS platform, etc.). In another embodiment, the resources may include processing resources available in the NFS platform (e.g., CPU processor cycles, processor memory, etc.).

[0063] In addition, in one embodiment, the resources may include one or more network buffers available in the NFS platform. In another embodiment, the resources may include multiple remote procedure calls available in the NFS platform. In yet another embodiment, the resources may include one or more data caches available in the NFS platform. In yet another embodiment, the resources may include one or more metadata caches available in the NFS platform.

[0064] In addition, in one embodiment, the resources may include one or more remote procedure calls (RPCs) available within the NFS platform. In another embodiment, the resources may include one or more scheduler priorities available within the NFS platform. In yet another embodiment, the resources may include one or more storage controller priorities available within the NFS platform.

[0065] In addition, in one embodiment, the NFS platform may include a cluster file system. For example, the NFS platform may include multiple nodes of a cluster, wherein each of the multiple nodes of the cluster may include a system that includes a predetermined amount of resources, such as physical storage capacity, processing resources, data cache, etc. In another example, each node may include one or more storage drives (e.g., solid-state drives (SSDs), hard disk drives, tape drives, flash memory, etc.) that provide physical storage capacity, one or more hardware processors that provide processing resources, etc.

[0066] In addition, in one embodiment, the NFS platform can provide an abstraction level between one or more clients and the physical storage capacity provided by multiple nodes. In another embodiment, the NFS platform can provide an abstract file system to the nodes, where the file system utilizes the physical storage capacity provided by the multiple nodes.

[0067] Furthermore, in one embodiment, each of the plurality of zones may be assigned to a single exit within the NFS platform. In another embodiment, each of the plurality of zones may be assigned a predetermined percentage of the resources of the NFS platform. For example, the first zone may be assigned thirty percent of the available storage space within the NFS platform, the second zone may be assigned seventy percent of the available storage space within the NFS platform, and so on.

[0068] In addition, in one embodiment, the allocation of resources can be based on the number of clients that can access each of the multiple exits. For example, a first exit that can be accessed by a greater number of clients than a second exit can be allocated to a first zone that has more NFS platform resources than a second zone allocated to the second exit.

[0069] Furthermore, in one embodiment, each exit within the NFS platform may include a directory or folder that serves as an interface for accessing resources of the NFS platform.

[0070] In this way, each export of the NFS platform can be associated with a predetermined portion of all resources of the NFS platform. This can effectively allocate all available resources within the NFS platform, thereby achieving consistent resource allocation.

[0071] Additionally, method 500 may continue with operation 504, where a request to utilize resources of the NFS platform is received from a first application at one of the exits within the NFS platform. In one embodiment, the request may include a remote procedure call (RPC). In another embodiment, the request may be received from an application running on a client separate from the system. For example, the client may include a computing device such as a mobile device, a desktop computing device, or the like.

[0072] Additionally, in one embodiment, the request may be associated with one of a plurality of zones. For example, the request may be associated with a zone assigned to an egress that received the request. In another embodiment, the application may include a program running on a client that communicates with the NFS platform. For example, during the execution of the application, the application may request to utilize resources of the NFS platform.

[0073] Additionally, method 500 may continue with operation 506, where a predetermined portion of the resources is allocated to the first application in one of the plurality of regions based on information included in the request. In one embodiment, the information included in the request may include an identifier of the first application (e.g., an application ID, etc.). In another embodiment, the information included in the request may include a priority of the first application. In yet another embodiment, the information included in the request may include the requested storage tier. In another embodiment, in response to determining that the requested storage tier is available, the request may be fulfilled using the requested storage tier.

[0074] Additionally, in one embodiment, the predetermined portion of the resource may be allocated only from the region allocated to the outlet where the request was received. In another embodiment, the information included in the request may be compared with information included in another request for the resource received at the same outlet. For example, another request for the resource may be received from a second separate application at the same outlet. In another example, another request for the resource may be received from a second application at the same outlet before or after the request is received from the first application.

[0075] In addition, in one embodiment, the first priority of the first application can be determined based on information included in the request from the first application. In another embodiment, the second priority of the second application can be determined based on information included in the request from the second application. In yet another embodiment, the first priority can be compared with the second priority.

[0076] In addition, in one embodiment, when the first priority is greater than the second priority, the predetermined portion of resources allocated to the first application may be greater than the predetermined portion of resources allocated to the second application. In another embodiment, when the first priority is less than the second priority, the predetermined portion of resources allocated to the first application may be less than the predetermined portion of resources allocated to the second application.

[0077] In this way, based on the priority of the application, the resources of the NFS platform can be dynamically allocated to the client application. This can ensure that important high-priority applications have priority access to the NFS platform resources, which can ensure the performance of such applications. By ensuring that high-priority applications can access NFS platform resources with higher priority than low-priority applications, the overall system performance can also be improved.

[0078] Methods for enabling QoS in NFSaaS hosting platform

[0079] In one embodiment, a framework is provided that helps achieve Quality of Service (QoS) in NFSaaS (Network File Sharing as a Service) hosting platforms by efficiently partitioning user space NFS server resources and appropriately placing data in corresponding storage pools based on weights assigned to applications.

[0080] Network File Systems (NFS) are derived from distributed file system mechanisms. They are implemented in computing environments where centralized management of data and resources is crucial. Network File Systems work on all IP-based networks. They use TCP and UDP for data access and delivery, depending on the version used.

[0081] Traditionally, NFS is implemented as a local client / server computing model, where an NFS server (e.g., a single physical machine or a cluster of multiple machines) manages the authentication, authorization, and management of clients (which can be different machines from the NFS server on which the application is installed), as well as all data shared within a specific file system. Once authorized, the client can view and access the data through its local system in a manner similar to an internal disk drive.

[0082] It has been recently observed that cloud vendors are offering NFS as a Service (NFSaaS) where the NFS server is hosted in a data center managed by the cloud provider, while the NFS client can reside in the cloud data center or on-premises.

[0083] Userspace NFS servers can provide advantages over kernel NFS. For example, working in userspace allows very large memory allocations, and it is also easy to access services such as security and authentication in userspace.

[0084] Currently, no NFS version is built with Quality of Service (QoS). Therefore, from the perspective of the NFS server, such NFS systems cannot fully provide control over the quality of service, which is critical in the process of implementing a NFSaaS platform.

[0085] In one embodiment, a framework can be provided to facilitate provision of QoS infrastructure in a NFSaaS hosting platform by effectively partitioning user space NFS server resources (such as cache, RPC allocator, compute, storage, network, RPC, scheduler priority, etc.) and appropriately placing data in corresponding storage pools based on weights assigned to applications utilizing the service.

[0086] The framework provides the following capabilities and flexibility to traditional NFSaaS hosting platforms:

[0087] The framework supports collecting the application ID during the NFS RPC handshake. The NFS client passes this application ID to the NFSaaS platform.

[0088] The framework supports collecting application priority / weight values ​​in NFS RPC handshake. Application priority is determined by the cloud user.

[0089] The framework supports collecting the preferred storage tier required by the application in the NFS RPC handshake call.

[0090] The framework supports partitioning resources on each egress level of NFSaaS (by mapping the associated resources of each egress level to zones). For example, the NFSaaS hosting platform as a distributed file system can manage the node partition clusters created by each egress level.

[0091] Based on the received application ID and priority, the NFSaaS hosting platform can partition the user space NFS server / zone resources such as cache (data and metadata), RPC (number of RPCs from clients to be processed / responded to by each application within a compound request), compute resources (CPU and memory), storage resources (block level, storage controller resources), and scheduler priority. High priority applications get a relatively higher share of resources compared to other non-priority applications. If a new application is launched using a zone that is already used by other applications, the proposed algorithm triggers a resource rebalancing operation that involves adjusting the resources allocated to other applications and performing a new partition based on the new weights.

[0092] Based on the received preferred storage tier, the NFS server interacts with the file system pool function (such as the disk type associated with the target export), and based on the match of the requested disk tier, the NFS server writes the data of the specific application to the corresponding storage tier.

[0093] Table 1 shows an exemplary RPC message structure including new fields for conveying additional request information according to an exemplary embodiment.

[0094] Table 1

[0095]

[0096]

[0097] Table 2 shows exemplary NFS server resources that are partitioned and allocated according to an exemplary embodiment.

[0098] Table 2

[0099]

[0100] Figure 6 An exemplary NFSaaS hosting environment 600 providing end-to-end quality of service (QoS) according to an exemplary embodiment is shown. As shown, the hosting environment 600 includes a NFSaaS hosting platform 602. The network SaaS hosting platform 602 includes a cluster file system 604 that manages a plurality of nodes 606A-N.

[0101] In addition, each of these nodes 606A-N includes hardware resources 608A-N that are provided to the cluster file system 604. These hardware resources may include one or more storage drives, one or more processors, etc. In addition, the NFSaaS hosting platform 602 includes a first exit 610 and a second exit 612. The first exit 610 communicates with a first client 614, and the second exit communicates with the first client 614 and the second client 616. In one embodiment, the exits 610 and 612 can be implemented by the cluster file system 604 to expose the resources of the cluster file system 604 to the clients 614 and 616 that are accessing these resources. In another embodiment, the first client 614 and the second client 616 can both include NFS clients.

[0102] In one embodiment, all available resources within the NFSaaS hosting platform 602 may be grouped together. These resources may include all hardware resources 608A-N, network buffers within the NFSaaS hosting platform 602, storage controller resources within the NFSaaS hosting platform 602, scheduler priorities within the NFSaaS hosting platform 602, remote procedure calls allowed within the NFSaaS hosting platform 602, data and metadata caches in the NFSaaS hosting platform 602, and the like.

[0103] Furthermore, in one embodiment, the packet may be divided into a first partition and a second partition. The first partition may be assigned to the first egress 610, and the second partition may be assigned to the second egress 612. In another embodiment, in response to determining that the second egress 612 communicates with more clients than the first egress 610, the second partition may have a greater amount of resources than the first partition.

[0104] Furthermore, in one embodiment, the first exit 610 receives a remote procedure call (RPC) from the first application 618 and the second application 620 via the first client 614. Furthermore, the second exit 612 receives an RPC from the third application 622 via the second client 616. In one embodiment, the first RPC from the first application 618 may include information indicating that the application ID is 1, the priority is 100, and the storage layer requested by Serial ATA (SATA). Furthermore, the second RPC from the second application 620 may include information indicating that the application ID is 2, the priority is 101, and the storage layer requested by Serial ATA (SATA). Furthermore, the third RPC from the third application 622 may include information indicating that the application ID is 3, the priority is 1, and the storage layer requested by Solid State Drive (SSD).

[0105] In addition, in one embodiment, the NFSaaS hosting platform 602 can compare the information contained in the RPC call and can allocate a portion of the partition to each application based on the comparison. For example, the NFSaaS hosting platform 602 can note that the third application 622 has the first highest priority, the first application 618 has the second highest priority, and the second application 620 has the third highest priority. Since the third application 622 has the first highest priority and communicates with the second exit 612 only via the second client 616, a majority (e.g., 90%) of the second partition allocated to the second exit can be provided by the NFSaaS hosting platform 602 to the third application 622.

[0106] In addition, since the first application 618 has the second highest priority and communicates with the first exit 610 and the second exit 612 via the first client 614, a majority (e.g., 70%) of the first partition assigned to the first exit and the remaining portion (e.g., 10%) of the second partition assigned to the second exit can be provided to the first application 618 by the NFSaaS hosting platform 602.

[0107] In addition, since the second application 620 has the third highest priority and communicates with both the first exit 610 and the second exit 612 via the first client 614, the remaining portion (e.g., 30%) of the first partition allocated to the first exit can be provided to the second application 620 by the NFSaaS hosting platform 602.

[0108] In addition, the applications 618-622 can utilize their allocated partition resources during the execution of the applications 618-622. For example, the applications 618-622 can utilize their allocated storage and processing resources to perform one or more operations (e.g., data processing and storage, etc.) during the execution of the applications 618-622.

[0109] In this manner, resources managed by the NFSaaS hosting platform 602 may be dynamically allocated based on priorities derived for applications 618-622 requesting such resources. This may enable internal QoS implementations of the NFSaaS hosting platform 602.

[0110] Reference now Figure 7 , shows a flow chart of a method 700 for implementing quality of service on a client according to one embodiment. In various embodiments, the method 700 may be implemented according to the present invention. Figure 1-4 and Figure 6 Of course, method 700 may include Figure 7 More or less operations specifically described in the description will be understood by those skilled in the art after reading this specification.

[0111] Each step of method 700 may be performed by any suitable component of an operating environment. For example, in various embodiments, method 700 may be performed in part or in whole by one or more servers, computers, or some other device having one or more processors therein. A processor, such as (multiple) processing circuits, (multiple) chips, and / or (multiple) modules implemented in hardware and / or software, and preferably having at least one hardware component, may be used in any device to perform one or more steps of method 700. Exemplary processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc., combinations thereof, or any other suitable computing device known in the art.

[0112] like Figure 7 As shown, method 700 may start from operation 702, where a client initiates an NFS connection with an NFS server. In one embodiment, the NFS server may include an NFS host platform. In another embodiment, the client may initiate an NFS connection with a predetermined exit of the NFS server. In yet another embodiment, the client may initiate an NFS connection on behalf of an application running on the client.

[0113] In addition, method 700 can continue with operation 704, where the client passes the application ID, priority value, and preferred storage tier to the NFS server as parameters within the RPC call. In one embodiment, the application ID, priority value, and preferred storage tier can be associated with a predetermined application running on the client.

[0114] Additionally, method 700 may continue with operation 706, where the client receives a result of the RPC call. In one embodiment, the result may include usage of one or more resources of the server based on the RPC call and parameters sent to the NFS server via the RPC call.

[0115] Reference now Figure 8 , shows a flow chart of a method 800 for partitioning and allocating NFS resources according to one embodiment. In various embodiments, the method 800 may be implemented in accordance with the present invention. Figure 1-4 Of course, method 800 may include more Figure 8 More or less operations specifically described in the description will be understood by those skilled in the art after reading this specification.

[0116] Each step of method 800 may be performed by any suitable component of an operating environment. For example, in various embodiments, method 800 may be performed in part or in whole by one or more servers, computers, or some other device having one or more processors therein. A processor, such as (multiple) processing circuits, (multiple) chips, and / or (multiple) modules implemented in hardware and / or software, and preferably having at least one hardware component, may be used in any device to perform one or more steps of method 800. Exemplary processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc., combinations thereof, or any other suitable computing device known in the art.

[0117] like Figure 8 As shown, method 800 may start from operation 802, where NFS server resources managed by a distributed file system are partitioned based on multiple exports. In addition, method 800 may continue with operation 804, where the export reads the application ID, priority value, and preferred storage layer of the application from the incoming RPC.

[0118] In addition, method 800 may continue with operation 806, where a portion of the partitioned NFS server resources are allocated to the application based on the application ID, priority value, and preferred storage tier of the application. These NFS server resources may include computing resources (e.g., CPU, memory), network buffers, storage controller resources, scheduler priorities, multiple RPCs, data caches, metadata caches, etc.

[0119] Reference now Fig. 9 , shows a flow chart of a method 900 for implementing storage layer priority of NFS resources according to one embodiment. In various embodiments, the method 900 can be implemented in the present invention. Figure 1-4 and Figure 6 Of course, method 900 may include Fig. 9 More or less operations specifically described in the description will be understood by those skilled in the art after reading this specification.

[0120] Each step of method 900 may be performed by any suitable component of an operating environment. For example, in various embodiments, method 900 may be performed in part or in whole by one or more servers, computers, or some other devices having one or more processors therein. A processor, such as (multiple) processing circuits, (multiple) chips, and / or (multiple) modules implemented in hardware and / or software, and preferably having at least one hardware component, may be used in any device to perform one or more steps of method 900. Exemplary processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc., combinations thereof, or any other suitable computing device known in the art.

[0121] like Fig. 9 As shown, method 900 may start from operation 902, where the exit reads the application ID, priority value, and preferred storage tier of the application from the incoming RPC. In addition, method 900 may continue with operation 904, where a storage tier corresponding to the preferred storage tier is identified within the NFS server.

[0122] Additionally, method 900 may proceed to operation 906, where the data included in the RPC is written to a block address derived from the identified storage tier, if available. For example, if storage space is determined to be available in the identified storage tier, such storage space may be used to implement the RPC.

[0123] In this way, the application can decide which storage tiers to use to store application data within the NFS server.

[0124] At any possible technical detail combination level, the present invention may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0125] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0126] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0127] The computer program instructions for performing the operation of the present invention may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, integrated circuit configuration data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0128] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0129] These computer-readable program instructions can be provided to a processor of a computer or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0130] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0131] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be completed as a step, executed in parallel, executed substantially in parallel, executed in a partially or completely temporarily overlapping manner, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0132] In addition, the system according to various embodiments may include a processor and logic integrated with the processor and / or executable by the processor, the logic being configured to perform one or more process steps described herein. Integrated with the processor means that the processor has logic embedded therein as hardware logic, such as an application specific integrated circuit (ASIC), FPGA, etc. Executable by the processor means that the logic is hardware logic; software logic, such as a part of firmware, an operating system, a part of an application; etc., or some combination of hardware and software logic, which is accessible by the processor and configured so that the processor performs certain functions when executed by the processor. As known in the art, the software logic can be stored on local and / or remote memory of any memory type. Any processor known in the art, such as a software processor module and / or a hardware processor, such as an ASIC, FPGA, a central processing unit (CPU), an integrated circuit (IC), a graphics processing unit (GPU), etc., can be used.

[0133] It will be apparent that the various features of the foregoing systems and / or methods may be combined in any manner, with multiple combinations resulting from the above description.

[0134] It should also be appreciated that embodiments of the present invention may be provided as a service deployed on behalf of a customer to provide services on demand.

[0135] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A computer-implemented method comprising: Based on a plurality of exits in a network file system NFS platform, partitioning resources of the NFS platform into a plurality of areas, wherein each exit includes a directory and / or folder serving as an interface for accessing resources of the NFS platform; receiving, at one of the exits within the NFS platform, a request from a first application to utilize a resource of the NFS platform; and Based on information included in the request, a portion of a percentage of resources of the NFS platform included in one of the plurality of zones assigned to the egress that received the request is allocated to the first application.

2. The computer-implemented method of claim 1, wherein the resource comprises storage space available within the NFS platform.

3. The computer-implemented method of claim 1, wherein the resources comprise processing resources available within the NFS platform.

4. The computer-implemented method of claim 1, wherein each of the plurality of zones is assigned to a single exit within the NFS platform, wherein each of the plurality of zones is assigned a percentage of resources of the NFS platform.

5. The computer-implemented method of claim 1 , wherein the resources of the NFS platform include: The storage space available within the NFS platform, The processing resources available within the NFS platform, The network buffers available within the NFS platform, Remote procedure calls available within the NFS platform, Data cache available within the NFS platform, The metadata cache available within the NFS platform, The scheduler priorities available within the NFS platform, The available storage controller priorities within the NFS platform.

6. The computer-implemented method of claim 1 , wherein the request comprises a remote procedure call (RPC), and Information included in the request includes an identifier of the first application and the requested storage tier.

7. The computer-implemented method of claim 1, wherein the request is received from an application running on a client independent of the NFS platform.

8. The computer-implemented method of claim 1, wherein the information included within the request includes an identifier of the first application.

9. The computer-implemented method of claim 1, wherein the information included within the request includes a priority level of the first application.

10. The computer-implemented method of claim 1, wherein the information included within the request includes the requested storage tier.

11. The computer-implemented method of claim 1 , wherein the information included in the request comprises: an identifier of the first application, the priority of the first application, and The requested storage tier.

12. The computer-implemented method of claim 1 , wherein: determining a first priority for the first application based on information included in the request from the first application; determining a second priority for the second application based on information included in the request from the second application; comparing the first priority level to the second priority level; In response to determining that the first priority level is greater than the second priority level, the portion of the resources allocated to the first application is greater than the portion of the resources allocated to the second application; and In response to determining that the first priority is less than the second priority, the portion of the resources allocated to the first application is less than the portion of the resources allocated to the second application.

13. The computer-implemented method of claim 1, wherein in response to determining that the requested storage tier is available, fulfilling the request using the requested storage tier.

14. A computer program product for managing quality of service in a network file sharing environment, the computer program product comprising a computer-readable storage medium having program instructions contained therein, the program instructions being executable by a processor to cause the processor to perform the steps of the method according to any one of claims 1 to 13.

15. A system comprising: processor; and Logic integrated with the processor, executable by the processor, or integrated with the processor and executable by the processor, the logic being configured to cause the processor to perform the steps of the method according to any one of claims 1 to 13.

16. A system comprising modules individually configured to perform each step of the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Adaptive Scheduling Of Storage Operations Based On Utilization Of Multiple Client And Server Resources In A Distributed Network Storage System

    US20100076805A1

  • Methods, systems and devices for parallel network interface data structures with differential data storage service capabilities

    US20150244804A1

  • Efficiently managing movement of large amounts object data in a storage hierarchy

    US20170010826A1

  • Dynamically transitioning the file system role of compute nodes for provisioning a storlet

    US20180091626A1