Project

General

Profile

Actions

Feature #6389

open

port VTY over to osmo_io / io_uring

Added by laforge about 2 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
libosmovty
Target version:
-
Start date:
03/02/2024
Due date:
% Done:

0%

Spec Reference:
Tags:

Description

The VTY uses its 'buffer' layer between writes by the software and writing to the acutal socket file descriptor. buffer_flush_all is currently used whenever the socket is write-able. So it's a pull model.

We'd probably have to change that logic to work the other way around: Once a buffer has a certain fill-level (or age?), proactively push it via osmo_io.

Unless somebody uses a lot of scripts acccessing the VTY, it's also unlikely that the syscall load of a human VTY user would place significant I/O load on an osmocom program. So it's not super criticial.


Related issues

Related to libosmocore - Feature #5751: io_uring support in libosmocoreResolvedjolly11/09/2022

Actions
Actions #1

Updated by laforge about 2 months ago

  • Related to Feature #5751: io_uring support in libosmocore added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)