Home Support Blog

GPON GEM Framing and the 125 us Fixed Frame

Release date:2026-09-30

Rayin (Shenzhen Rayin Technology) is a manufacturer of GPON OLTs and industrial Ethernet switches. On a GPON link, the trick that makes many services share one fiber is not magic — it is a fixed 125 microsecond frame period and a clever encapsulation method called GEM.

Where the 125 us frame period comes from

The GPON TC (Transmission Convergence) layer runs on a 125 us frame period. That number is inherited directly from legacy TDM's 8 kHz cadence (1/8000 = 125 us, the same lineage as G.992/G.984). Every 125 us, the OLT sends one downstream frame and receives a slice of upstream burst.

The benefit of fixed frames is practical: slot positions are fixed, planning is simple, and jitter is controllable — which is friendly to timing-sensitive services like voice and TDM.

image

What GEM is

GEM (GPON Encapsulation Method) is the generic way GPON packs any service into the PON. Ethernet frames, TDM timeslots, or anything else is first wrapped into a GEM frame, then placed into the payload of the downstream TC frame. Unlike the older ATM encapsulation, GEM carries variable-length packets directly, so it is efficient.

GEM frame header fields

FieldBitsPurpose
Port-ID12Identifies the GEM Port — a logical service channel
Length12Payload length indicator
PTI3Payload Type Indicator — user data vs OMCI vs management
HECseveralHeader error check / correction

The Port-ID is the key: the OLT and ONU use it to deliver a GEM frame to the right service channel. PTI lets the OLT tell at a glance whether this is user data or the OMCI management channel — and OMCI itself rides a GEM channel.

Mapping to T-CONT and Alloc-ID

These three concepts are easy to confuse; remember the division of labor:

  • GEM Port: the service encapsulation channel — "which service does this data belong to."

  • T-CONT: the upstream bandwidth scheduling unit — the OLT allocates upstream slots by it.

  • Alloc-ID: the identifier of the T-CONT — the OLT uses it to say "this upstream bandwidth goes to which T-CONT."

The relationship: multiple GEM Ports can map onto one T-CONT, and the T-CONT is scheduled by the OLT through its Alloc-ID. The "GEM Port + T-CONT + Alloc-ID" string in an OLT provisioning template is exactly the configuration entry point for this mapping — binding service, bandwidth, and scheduling into three layers.

Fragmentation and concatenation of the payload

Ethernet frames vary in size, so GEM uses two operations to fit the fixed-frame structure:

  • Fragmentation: one over-long Ethernet frame may span multiple GEM frames, with header fields marking the boundaries; the receiver reassembles.

  • Concatenation: several small packets can be packed into one GEM frame's payload, improving fill efficiency and reducing waste on small packets.

These two techniques are what let variable traffic lie neatly inside the 125 us fixed rhythm.

How it lands on a Rayin OLT

Rayin GPON OLTs follow ITU-T G.984 GEM encapsulation and T-CONT scheduling on the PON port. At provisioning, the "GEM Port + T-CONT + Alloc-ID" template binds services to upstream bandwidth, so data, voice, and management do not cross streams. Pairing the central office with industrial switches covers the whole link from the field to the equipment room. See the company profile for background.

image

FAQ

Are GEM Port and T-CONT the same thing?

No. A GEM Port is a service encapsulation channel; a T-CONT is an upstream bandwidth scheduling unit, linked through the Alloc-ID. One T-CONT can host multiple GEM Ports, sharing one upstream bandwidth segment for several services.

Why is the frame fixed at 125 us?

It aligns with TDM's 8 kHz for fixed slot planning and low jitter, which is friendly to voice/TDM services and simplifies OLT scheduling.

How does PTI split the traffic?

PTI roughly separates the user-data channel from the management (OMCI) channel, so the OLT routes service data and management messages to different processing paths.

How does a large Ethernet frame fit into GEM?

If it exceeds a single GEM frame, it is fragmented and reassembled at the receiver; small packets can be concatenated into one GEM frame to improve fill efficiency.

What does the provisioning template string mean?

"GEM Port + T-CONT + Alloc-ID" is the configuration entry for the encapsulation-and-scheduling mapping — not decoration, but the actual binding of service, bandwidth, and scheduling.

Key takeaways

  • GPON nails the upstream/downstream rhythm to a 125 us fixed frame, then uses GEM to encapsulate services into Port-ID-identified channels, scheduling bandwidth via T-CONT/Alloc-ID.

  • The "GEM Port + T-CONT + Alloc-ID" template is the real configuration entry for this mapping.

  • Rayin (Shenzhen Rayin Technology) is a manufacturer of GPON OLTs and industrial Ethernet switches, and its GPON OLTs implement G.984 GEM encapsulation and T-CONT scheduling.


Related Reading


About Rayin → https://www.szrayin.com/Profile/

Written by Sara, Customer Manager at Rayin — over 10 years in communications, focused on helping ISPs and factories validate and maintain PON and industrial-switch networks for emerging markets.

Connect with Sara on LinkedIn

Get A Quote

You have agreed to this website’s《Privacy Policy》