JP4228296B2 - 可変長パケット蓄積装置及び方法 - Google Patents
可変長パケット蓄積装置及び方法 Download PDFInfo
- Publication number
- JP4228296B2 JP4228296B2 JP2003419090A JP2003419090A JP4228296B2 JP 4228296 B2 JP4228296 B2 JP 4228296B2 JP 2003419090 A JP2003419090 A JP 2003419090A JP 2003419090 A JP2003419090 A JP 2003419090A JP 4228296 B2 JP4228296 B2 JP 4228296B2
- Authority
- JP
- Japan
- Prior art keywords
- length
- packet
- buffer area
- variable
- buffer
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
図5に本発明のバッファサイズ管理メモリの構成を示す。バッファ領域の管理に用いるポインタには大きいバッファサイズ(mバイト)のポインタのみを用い、2種類のバッファサイズの各空きポインタの管理も大きいバッファサイズ(mバイト)の単位のポインタを用いて行い、小さいバッファサイズ(nバイト)のバッファ領域の管理は、大きいバッファサイズ(mバイト)のバッファ領域にサブアドレスを定義することによって行う。つまり、バッファ領域をmバイト単位でポインタをつけて管理する。従って、管理するポインタ数は、全バッファリング共有メモリ容量Sバイト÷mバイトである。
・64バイトのパケットを受信すると、使用効率は64/512=12.5%
・65バイトのパケットを受信すると、使用効率は65/512=12.7%
・512バイトのパケットを受信すると、使用効率は512/512=100%
・513バイトのパケットを受信すると、使用効率は(513/512)×2=50%
となる。
・64バイトのパケットを受信すると、使用効率は64/64=100%
・65バイトのパケットを受信すると、使用効率は(65/64)×2=50%
・512バイトのパケットを受信すると、使用効率は(512/64)×8=100%
・513バイトのパケットを受信すると、使用効率は(513/64)×9=89%
となる。
1−2 バッファサイズ振り分け部
1−3 バッファ管理メモリ
1−4 空ポインタ管理部
1−5 空ポインタメモリ
1−6 ポインタ管理部
Claims (5)
- 入力される可変長受信パケットの長さについての受信頻度の統計データを算定する受信パケット長監視手段と、
可変長受信パケットを格納するサイズの異なる複数種類のバッファ領域から構成されるバッファリング共有メモリと、
該バッファリング共有メモリにおけるサイズの異なる複数種類のバッファ領域の構成比率を、前記受信パケット長監視手段から得た可変長受信パケットの長さについての受信頻度の統計データを基に変更する手段と
を備えたことを特徴とする可変長パケット蓄積装置。 - 前記受信パケット長監視手段は、入力される可変長受信パケットの長さが所定の閾値以上か否かを判定して可変長受信パケットを大小2種類の何れかに振り分ける手段を備え、
前記振り分け手段により振り分けた大サイズの可変長受信パケットを大サイズのバッファ領域に格納し、小サイズの可変長受信パケットを小サイズのバッファ領域に格納する構成を有することを特徴とする請求項1に記載の可変長パケット蓄積装置。 - 前記バッファ領域を、大サイズのバッファ領域と該大サイズのバッファ領域を複数個に分割した小サイズとのバッファ領域とから構成し、大サイズのバッファ領域の単位でその先頭アドレスのみを空きポインタとして管理する空きポインタメモリと、
大サイズのバッファ領域の単位毎に各小サイズのバッファ領域の空き状態を示すサブアドレスフラグを記憶するバッファサイズ管理メモリと
を備えたことを特徴とする請求項1又は2に記載の可変長パケット蓄積装置。 - 入力される可変長受信パケットの長さについての受信頻度の統計データを算定する受信パケット長監視ステップと、
サイズの異なる複数種類のバッファ領域で構成された受信パケット格納用のバッファリング共有メモリに対して、該サイズの異なる複数種類のバッファ領域の構成比率を、前記受信パケット長監視手段から得られる可変長受信パケットの長さについての受信頻度の統計データを基に変更するステップと、
入力される可変長受信パケットの長さに応じて最も少ない不使用領域となるバッファ領域を選択して該可変長受信パケットを格納するステップと
を含むことを特徴とする可変長パケット蓄積方法。 - 前記受信パケット長監視ステップは、入力される可変長受信パケットの長さが所定の閾値以上か否かを判定して可変長受信パケットを大小2種類の何れかに振り分けるステップを含み、
前記振り分けステップにより振り分けた大サイズの可変長受信パケットを大サイズのバッファ領域に格納し、小サイズの可変長受信パケットを小サイズのバッファ領域に格納するステップを有することを特徴とする請求項4に記載の可変長パケット蓄積方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003419090A JP4228296B2 (ja) | 2003-12-17 | 2003-12-17 | 可変長パケット蓄積装置及び方法 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003419090A JP4228296B2 (ja) | 2003-12-17 | 2003-12-17 | 可変長パケット蓄積装置及び方法 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005184179A JP2005184179A (ja) | 2005-07-07 |
| JP4228296B2 true JP4228296B2 (ja) | 2009-02-25 |
Family
ID=34781075
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003419090A Expired - Fee Related JP4228296B2 (ja) | 2003-12-17 | 2003-12-17 | 可変長パケット蓄積装置及び方法 |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4228296B2 (ja) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5016880B2 (ja) * | 2006-09-21 | 2012-09-05 | 富士通株式会社 | 優先クラスに応じたメモリ管理方法及び装置 |
| JP5278157B2 (ja) * | 2009-05-15 | 2013-09-04 | 富士通株式会社 | 伝送装置および伝送方法 |
| CN103605485B (zh) * | 2013-11-29 | 2017-01-18 | 深圳市道通科技股份有限公司 | 一种变长数据的存储方法与装置 |
| CN111796902B (zh) * | 2019-04-08 | 2024-03-19 | 维塔科技(北京)有限公司 | 切换共享内存区的方法和装置、存储介质和电子设备 |
-
2003
- 2003-12-17 JP JP2003419090A patent/JP4228296B2/ja not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005184179A (ja) | 2005-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8036117B1 (en) | Dequeuing and congestion control systems and methods | |
| US9106577B2 (en) | Systems and methods for dropping data using a drop profile | |
| US7711005B1 (en) | Systems and methods for determining the bandwidth used by a queue | |
| US7613199B1 (en) | Systems and methods for permitting queues to oversubscribe | |
| US9100314B2 (en) | Dequeuing and congestion control systems and methods for single stream multicast | |
| US8072998B2 (en) | Systems and methods for congestion control using random early drop at head of buffer | |
| CN113037640A (zh) | 数据转发方法、数据缓存方法、装置和相关设备 | |
| JPWO2004066570A1 (ja) | ネットワークスイッチ装置およびネットワークスイッチ方法 | |
| CN1881937A (zh) | 将存储空间动态分配给多个队列的方法及设备 | |
| JPH0879264A (ja) | 帯域規制装置及びパケット通信装置 | |
| CN105308906A (zh) | 时间上高效的计数器和计量器架构 | |
| CN107800644A (zh) | 一种可动态配置的流水化令牌桶限速方法与装置 | |
| US7088731B2 (en) | Memory management for packet switching device | |
| EP3461085A1 (en) | Method and device for queue management | |
| EP1351439A1 (en) | Embedded system for broadcast traffic congestion control in communication network | |
| JP2005184179A (ja) | 可変長パケット蓄積装置及び方法 | |
| CN115623361B (zh) | 光业务单元的映射方法及装置、存储介质、电子装置 | |
| US20020066000A1 (en) | Transporting data transmission units of different sizes using segments of fixed sizes | |
| US20040017781A1 (en) | Method and apparatus for varying bandwidth provided to virtual channels in a virtual path | |
| CN101702714A (zh) | 计算机系统中的基于信用的流动控制的方法、系统和设备 | |
| US8094552B1 (en) | Adaptive buffer for frame based storage communications protocols | |
| US10002092B2 (en) | Arithmetic processing unit, and method of controlling arithmetic processing unit | |
| US20130332630A1 (en) | Transmission device and transmission method | |
| JP2001223742A (ja) | 輻輳の場合におけるセルバッファ保護の方法および装置 | |
| US7133932B2 (en) | Scheduling system using packet FIFOs and cell FIFOs for converting IP packets to ATM cells |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061006 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081015 |
|
| 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: 20081021 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081119 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111212 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111212 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121212 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121212 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131212 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |