[go: up one dir, main page]

KR19980030106A - How to send LAN driver message of main computer - Google Patents

How to send LAN driver message of main computer Download PDF

Info

Publication number
KR19980030106A
KR19980030106A KR1019960049465A KR19960049465A KR19980030106A KR 19980030106 A KR19980030106 A KR 19980030106A KR 1019960049465 A KR1019960049465 A KR 1019960049465A KR 19960049465 A KR19960049465 A KR 19960049465A KR 19980030106 A KR19980030106 A KR 19980030106A
Authority
KR
South Korea
Prior art keywords
buf
kernel
buffer
data
allocated
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.)
Abandoned
Application number
KR1019960049465A
Other languages
Korean (ko)
Inventor
김태천
Original Assignee
구자홍
엘지전자 주식회사
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 구자홍, 엘지전자 주식회사 filed Critical 구자홍
Priority to KR1019960049465A priority Critical patent/KR19980030106A/en
Publication of KR19980030106A publication Critical patent/KR19980030106A/en
Abandoned legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

본 발명은 중앙처리장치(CPU) 커널에서 입출력 프로세서(IOP) 커널로 데이타를 전송하는 경우 로칼 BUF에서 할당받아 리모트 BUF로 반환하는데 이때 송신과 수신 데이타가 균형을 이루지 못한 경우 한 쪽 BUF가 모자라 발생하는 성능 및 안정성의 저하를 방지하기 위한 주전산기의 랜 드라이버 메시지 전송방법에 관한 것이다.In the present invention, when a CPU is transmitted from a CPU kernel to an I / O processor kernel, a local BUF is allocated and returned to a remote BUF. When the transmission and reception data are not balanced, one BUF is insufficient. It relates to a LAN driver message transmission method of the host computer to prevent the degradation of performance and stability.

이러한 본 발명은 중앙처리장치 커널에서 입출력 프로세서 커널로 데이타 전송시 사용하는 다수개의 버퍼로 이루어진 로컬 버퍼와 입출력 프로세서 커널에서 중앙처리장치 커널로 데이타 전송시 사용하는 다수개의 버퍼로 이루어진 리모트 버퍼로 구성되어 상호 데이타를 전송하는 방법에 있어서, 로컬 버퍼에서 할당한 버퍼는 입출력 프로세서 커널에서 로컬 버퍼로 반환하고 리모트 버퍼에서 할당한 버퍼는 중앙처리장치 커널에서 리모트 버퍼로 반환하여 상호 데이타를 전송하게 되는 것이다.The present invention comprises a local buffer consisting of a plurality of buffers used when transferring data from the CPU to the I / O processor kernel and a remote buffer consisting of a plurality of buffers used when transferring data from the I / O processor kernel to the CPU. In the mutual data transfer method, the buffer allocated from the local buffer is returned to the local buffer from the I / O processor kernel, and the buffer allocated from the remote buffer is returned to the remote buffer from the central processing unit kernel to transmit mutual data.

Description

주전산기의 랜(LAN) 드라이버 메시지 전송방법How to send LAN driver message of main computer

제 1 도는 종래 주전산기의 BPE 풀 구성도.1 is a BPE pool configuration diagram of a conventional main computer.

제 2 도는 종래 주전산기의 EPB 풀 구성도.2 is a schematic diagram of the EPB pool of a conventional main computer.

제 3 도는 종래 주전산기의 BUF 풀 구성도.3 is a BUF pool configuration diagram of a conventional main computer.

제 4 도는 본 발명에 의한 주전산기의 BUF 풀 구성도.4 is a BUF pool configuration diagram of the main computer according to the present invention.

본 발명은 주전산기의 랜(LAN) 드라이버 메시지 전송에 관한 것으로, 특히 중앙처리장치(CPU) 커널에서 입출력 프로세서(IOP) 커널로 데이타를 전송하는 경우 로칼 BUF에서 할당받아 리모트 BUF로 반환하는데 이때 송신과 수신 데이타가 균형을 이루지 못한 경우 한 쪽 BUF가 모자라 발생하는 성능 및 안정성의 저하를 방지하기 위한 주전산기의 랜 드라이버 메시지 전송방법에 관한 것이다.The present invention relates to LAN (LAN) driver message transmission of the host computer, and in particular, when transmitting data from the CPU kernel to the I / O kernel, the local BUF is allocated to the remote BUF and is returned to the remote BUF. The present invention relates to a LAN driver message transmission method of a host computer for preventing performance and stability deterioration caused by insufficient BUF when received data is not balanced.

일반적으로, 중앙처리장치(CPU) 커널과 입출력 프로세서(IOP) 커널에서 공유할 수 있는 영역을 중앙처리장치 커널 영역에 할당하여 BPP(Buffered Pipe Protocol) 채널 구조로 구성한다.In general, an area that can be shared by the CPU kernel and the I / O processor kernel is allocated to the CPU kernel area to configure a BPP channel structure.

BPP 채널 구조에서는 전송하고자 하는 데이타를 공유영역에 기록하고 상대방에서는 그 정보를 리드(Read)함으로서 데이타 전송이 이루어진다.In the BPP channel structure, data transmission is performed by recording data to be transmitted in a shared area, and the other party reads the information.

이러한 데이타 전송 방법은 중앙처리장치 커널 계층의 MVME374 드라이버와 IOP 커널 계층의 MVME374 드라이버, 입출력 프로세서 커널 계층의 MVME374 드라이버와 MVME374 콘트롤러 보드간에 유사한 방법으로 이루어진다.The data transfer method is similarly performed between the MVME374 driver of the central processing unit kernel layer, the MVME374 driver of the IOP kernel layer, the MVME374 driver of the input / output processor kernel layer, and the MVME374 controller board.

공유 인터페이스 메모리 풀은 BPE, EPB, BUF로 이루어져 있으며, BPE는 데이타 전송시 BPP 채널을 핸들링하기 위한 정보를 포함하고 있으며, 전송될 EPB에 대한 주소 정보를 갖고 있다.The shared interface memory pool is composed of BPE, EPB, and BUF. The BPE includes information for handling BPP channels in data transmission, and has address information on EPBs to be transmitted.

EPB는 전송에 필요한 헤더 정보를 갖고있으며, 전송될 BUF에 대한 주소 정보도 갖고 있다.The EPB contains the header information necessary for transmission and also contains the address information for the BUF to be transmitted.

여기서 BUF는 전송될 실제 데이타가 존재하는 부분이다.The BUF is where the actual data to be transmitted exists.

BPE, EPB, BUF 풀은 각각 로컬과 리모트 풀로 구성되어 있는데, 로컬 풀은 중앙처리장치 커널 영역에서 사용하는 풀영역이고, 리모트 풀은 입출력 프로세서 커널 영역에서 사용하는 풀영역이다.The BPE, EPB, and BUF pools consist of local and remote pools, respectively. The local pool is the pool area used by the central processing unit kernel area, and the remote pool is the pool area used by the I / O processor kernel area.

제 1 도는 상기한 BPE 풀의 구조이다.1 is a structure of the BPE pool described above.

이에 도시한 바와 같이, 중앙처리장치 커널에서 입출력 프로세서 커널로 데이타를 전송하는 경우 BPE를 할당받아야 하는데, lc.get_bpe에서 할당받아 전송에 필요한 처리를 한 후 lc.bpp_write에 BPE를 매달면 입출력 프로세서 커널에서는 re-->bpp_read에서 BPE를가져감으로써 송신과정이 이루어진다.As shown in this figure, when transferring data from the central processing unit kernel to the I / O processor kernel, the BPE must be allocated. If the BPE is suspended in lc.bpp_write after allocating the data in lc.get_bpe and processing it for transfer, the I / O processor kernel In rep> bpp_read, BPE is taken by sending process.

입출력 프로세서 커널에서는 필요한 처리를 한 후 BPE를 re-->ret_bpe에 되돌려 준다.The I / O processor kernel does the necessary work and returns the BPE to re-> ret_bpe.

다음으로, 제 2 도는 상기한 EPB 풀의 구조이다.Next, FIG. 2 is a structure of the EPB pool described above.

중앙처리장치 커널에서 입출력 프로세서 커널로 데이타를 전송하는 경우 EPB를 할당받아야 하는데, lr.epb_head에서 할당받아 전송에 필요한 처리를 한 후 위에서 할당받은 BPE에 매단다.When transferring data from the central processing unit kernel to the I / O processor kernel, an EPB must be allocated. After processing from the lr.epb_head, the processing is required for the transfer and suspended at the BPE allocated above.

입출력 프롯세서 커널에서는 필요한 처리를 한 후 rr.epb_tail에 EPB를 되돌린다.The I / O processor kernel does the necessary processing and returns the EPB to rr.epb_tail.

마지막으로, 제 3 도는 상기한 BUF 풀의 구조이다.Finally, Figure 3 is the structure of the BUF pool described above.

BUF는 전송할 실제 데이타가 존재하는 부분이다.The BUF is where the actual data to be sent exists.

중앙처리장치 커널에서 입출력 프로세서 커널로 데이타를 전송하는 경우 BUF를 할당 받는데, lr.buf_head에서 할당받아 전송할 데이타를 BUF에 복사한 후 미리 할당받은 EPB에 매단다.When data is transferred from the central processing unit kernel to the I / O processor kernel, a BUF is allocated. The data is allocated from lr.buf_head, copied to the BUF, and then suspended in the pre-allocated EPB.

입출력 프로세서 커널에서는 필요한 처리를 한 후 rr.buf_taiL에 BUF를 되돌린다.The I / O processor kernel does the necessary work and returns the BUF to rr.buf_taiL.

즉, BUF 풀 구조에서 BUF는 전송할 실제 데이타가 존재하는 부분인데 중앙처리장치 커널에서 입출력 프로세서 커널로 데이타를 전송하는 경우 lr.buf_head에서 할당받아 전송할 데이타를 BUF에 복사한 후 미리 할당받은 EPB에 매달며, 입출력 프로세서 커널에서는 필요한 처리를 한 후 rr.buf_tail에 BUF를 되돌리는데, 이때 BUF 풀 구조는 로컬 BUF와 리모트 BUF로 구성되며, 로컬 BUF에서 할당받은 리모트 BUF로 반환하는 구조이다.That is, in the BUF pool structure, the BUF is the part where actual data to be transmitted exists. When data is transferred from the central processing unit kernel to the I / O processor kernel, the data received from lr.buf_head is copied to the BUF, and the monthly data is allocated to the pre-allocated EPB. The I / O processor kernel returns the BUF to rr.buf_tail after performing the necessary processing. At this time, the BUF pool structure consists of the local BUF and the remote BUF, and returns to the remote BUF allocated from the local BUF.

따라서 이러한 구조는 송신과 수신 데이타가 균형을 이룬 경우에는 별문제가 없으나, 그렇치 않은 경우(송신과 수신 데이타가 균형을 이루지 못한 경우)에는 한 쪽 BUF가 모자라는 경우가 발생해 시스템 성능 및 안정성에 문제가 발생하였다.Therefore, this structure is not a problem when the transmission and reception data are balanced, but when it is not (the transmission and reception data is not balanced), one BUF is insufficient, which causes problems in system performance and stability. Occurred.

따라서 본 발명은 상기와 같은 종래 BUF 풀 구조에서 발생하는 시스템 성능 및 안정성 문제를 해결하기 위해 제안된 것으로서, 본 발명의 목적은 중앙처리장치(CPU) 커널에서 입출력 프로세서(IOP) 커널로 데이타를 전송하는 경우 로칼 BUF에서 할당받아 리모트 BUF로 반환하는데 이때 송신과 수신 데이타가 균형을 이루지못한 경우 한 쪽 BUF가 모자라 발생하는 성능 및 안정성의 저하를 방지하기 위한 주전산기의 랜 드라이버 메시지 전송방법을 제공하는데 있다.Therefore, the present invention has been proposed to solve the system performance and stability problems occurring in the conventional BUF pool structure as described above, and an object of the present invention is to transfer data from the CPU kernel to the I / O processor kernel. In this case, the local BUF is allocated from the local BUF and returned to the remote BUF. In this case, when the transmission and reception data are not balanced, it provides a LAN driver message transmission method of the host computer to prevent performance and stability deterioration caused by insufficient BUF. .

이러한 본 발명의 목적을 달성하기 위한 방법은, 중앙처리장치 커널에서 입출력 프로세서 커널로 데이타 전송시 사용하는 다수개의 버퍼로 이루어진 로컬 버퍼와 입출력 프로세서 커널에서 중앙처리장치 커널로 데이타 전송시 사용하는 다수개의 버퍼로 이루어진 리모트 버퍼로 구성되어 상호 데이타를 전송하는 방법에 있어서, 상기 로컬 버퍼에서 할당한 버퍼는 입출력 프로세서 커널에서 로컬 버퍼로 반환하고 상기 리모트 버퍼에서 할당한 버퍼는 중앙처리장치 커널에서 리모트 버퍼로 반환하여 상호 데이타를 전송하도록 하는 것을 특징으로 한다.A method for achieving the object of the present invention, a local buffer consisting of a plurality of buffers used when transferring data from the CPU kernel to the I / O processor kernel and a plurality of data used to transfer data from the I / O processor kernel to the CPU kernel In the method for transmitting mutual data consisting of a remote buffer consisting of a buffer, the buffer allocated from the local buffer is returned to the local buffer from the input and output processor kernel, and the buffer allocated from the remote buffer from the central processing unit kernel to the remote buffer Returning data to each other.

제 4 도는 본 발명에 의한 BUF 풀의 구조이다.4 is a structure of a BUF pool according to the present invention.

이는 종래의 BUF 풀 구조인 제 3 도의 구조에서 lr.buf_tail을 rr.buf_tail로, rr.buf_tail은 lr.buf_tail로 변경하여 새로운 BUF 풀의 구조를 나타낸 것이다.This shows the structure of the new BUF pool by changing lr.buf_tail to rr.buf_tail and rr.buf_tail to lr.buf_tail in the structure of FIG. 3 which is a conventional BUF pool structure.

이에 도시된 바와 같이, 중앙처리장치 커널에서 입출력 프로세서 커널로 데이타를 전송하는 경우 BUF를 할당 받는데, lr.buf_head에서 할당받아 전송할 데이타를 BUF에 복사한 후, 미리 할당받은 EPB에 매단다.As shown in this figure, when data is transmitted from the CPU to the I / O processor kernel, a BUF is allocated. The data is allocated from lr.buf_head, copied to the BUF, and then suspended in the pre-assigned EPB.

입출력 프로세서 커널에서는 필요한 처리를 한 후 rr.buf_tail에 BUF를 되돌린다.The I / O processor kernel does the necessary work and returns the BUF to rr.buf_tail.

입출력 프로세서 커널에서 중앙처리장치 커널로 데이타를 전송하는 경우 BUF를 할당 받는데, rr.buf_head에서 할당받아 전송할 데이타를 BUF에 복사한 후, 미리 할당받은 EPB에 매단다.When data is transferred from the I / O processor kernel to the central processing unit kernel, a BUF is allocated. The data received from rr.buf_head is copied to the BUF and then suspended in the pre-allocated EPB.

중앙처리장치 커널에서는 필요한 처리를 한 후 rr.buF_tail에 BUF를 되돌린다.The central processing unit kernel does the necessary processing and returns the BUF to rr.buF_tail.

즉, 로컬 BUF에서 할당한 BUF는 입출력 커널에서 로컬 BUF로 반환되고, 리모트 BUF에서 할당한 BUF는 중앙처리장치 커널에서 리모트 커널로 반환하게 되는 것이다That is, the BUF allocated from the local BUF is returned to the local BUF from the I / O kernel, and the BUF allocated from the remote BUF is returned from the central processing unit kernel to the remote kernel.

이상에서와 같이 본 발명은 로컬 BUF에서 할당한 BUF는 입출력 커널에서 로컬 BUF로 반환되고, 리모트 BUF에서 할당한 BUF는 중앙처리장치 커널에서 리모트 커널로 반환함으로서 송신과 수신 데이타가 균형을 이루지 않은 경우에도 한 쪽 BUF가 모자라는 경우가 발생하지 않아 시스템의 성능 및 안정성에 커다란 기여를 하는 효과가 있다.As described above, in the present invention, when the BUF allocated from the local BUF is returned to the local BUF from the input / output kernel, and the BUF allocated from the remote BUF is returned from the central processing unit kernel to the remote kernel, the transmission and reception data are not balanced. However, there is no shortage of one BUF, which contributes significantly to the performance and stability of the system.

Claims (1)

중앙처리장치 커널에서 입출력 프로세서 커널로 데이타 전송시 사용하는 다수개의 버퍼로 이루어진 로컬 버퍼와 입출력 프로세서 커널에서 중앙처리장치 커널로 데이타 전송시 사용하는 다수개의 버퍼로 이루어진 리모트 버퍼로 구성되어 상호 데이타를 전송하는 방법에 있어서, 상기 로컬 버퍼에서 할당한 버퍼는 입출력 프로세서 커널에서 로컬 버퍼로 반환하고 상기 리모트 버퍼에서 할당한 버퍼는 중앙처리장치 커널에서 리모트 버퍼로 반환하여 상호 데이타를 전송하는 것을 특징으로 하는 주전산기의 랜(LAN) 드리이버 메시지 전송방법.Mutual data transfer consists of a local buffer consisting of a number of buffers used to transfer data from the central processing unit kernel to the I / O processor kernel, and a remote buffer consisting of a plurality of buffers used to transfer data from the I / O processor kernel to the central processing unit kernel. The method of claim 1, wherein the buffer allocated by the local buffer is returned to the local buffer by the input / output processor kernel, and the buffer allocated by the remote buffer is returned to the remote buffer by the central processing unit kernel to transfer mutual data. How to send LAN driver message.
KR1019960049465A 1996-10-29 1996-10-29 How to send LAN driver message of main computer Abandoned KR19980030106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960049465A KR19980030106A (en) 1996-10-29 1996-10-29 How to send LAN driver message of main computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960049465A KR19980030106A (en) 1996-10-29 1996-10-29 How to send LAN driver message of main computer

Publications (1)

Publication Number Publication Date
KR19980030106A true KR19980030106A (en) 1998-07-25

Family

ID=66315641

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960049465A Abandoned KR19980030106A (en) 1996-10-29 1996-10-29 How to send LAN driver message of main computer

Country Status (1)

Country Link
KR (1) KR19980030106A (en)

Similar Documents

Publication Publication Date Title
US6425021B1 (en) System for transferring data packets of different context utilizing single interface and concurrently processing data packets of different contexts
JP3364587B2 (en) System and method for controlling transmission of relatively large data objects in a communication system
US5809328A (en) Apparatus for fibre channel transmission having interface logic, buffer memory, multiplexor/control device, fibre channel controller, gigabit link module, microprocessor, and bus control device
US5440690A (en) Network adapter for interrupting host computer system in the event the host device driver is in both transmit and receive sleep states
US6901451B1 (en) PCI bridge over network
US5781741A (en) Message communications system in a parallel computer
JPH04261245A (en) network controller for network adapters
JPH01142963A (en) Data transfer control
US5293487A (en) Network adapter with high throughput data transfer circuit to optimize network data transfers, with host receive ring resource monitoring and reporting
JPH05204835A (en) A general purpose device for connecting the computer bus to the peripheral controller
US6526068B2 (en) Interface control of communication between a control processor and a digital signal processor
KR100630071B1 (en) High speed data transmission method using DM in multiprocessor environment and apparatus therefor
US6108694A (en) Memory disk sharing method and its implementing apparatus
KR100230902B1 (en) Data processing and communicating system with high throughput peripheral component interconnect bus
KR19980030106A (en) How to send LAN driver message of main computer
US6535934B2 (en) Transferring data from disk storage directly to a peripheral device
US20030041176A1 (en) Data transfer algorithm that does not require high latency read operations
KR100487199B1 (en) Apparatus and method for data transmission in dma
JPH04108242A (en) Data transfer system for communication controller
US4751698A (en) Serial link adapter for a communication controller
JPS58158733A (en) Communication system between processors
JP2001202199A (en) Storage controller
JPS6057453A (en) Data processing system
JPH06301607A (en) Multi-access I / O control method
JP3343460B2 (en) HDLC frame processing device

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 19961029

PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 19961029

Comment text: Request for Examination of Application

PG1501 Laying open of application
PC1902 Submission of document of abandonment before decision of registration
SUBM Surrender of laid-open application requested