Project

General

Profile

Actions

Feature #2747

open

Make StreamFace processing time constant regardless of object size

Added by susmit shannigrahi almost 9 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Faces
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Right now, nfd processing time grows linearly with the object size (see attached picture) when using TCP face.

This happens because there is a buffer allocation and copy in the stream face. It takes about 0.6 seconds to process a 1GB object.

isOk = Block::fromBuffer(m_inputBuffer + offset, m_inputBufferSize - offset, element);

Not sure about the best way to address this or how hard it's to implement zero copy.


Files

receiver_side_time_vs_object_size.png (116 KB) receiver_side_time_vs_object_size.png susmit shannigrahi, 04/12/2015 07:23 PM
Actions

Also available in: Atom PDF