Identifying Almost Sorted Permutations from TCP Buffer Dynamics

Associate to each sequence A of integers (intending to model packet IDs in a TCP/IP stream) a sequence of positive integers of the same length M(A). The i’th entry of M(A) is the size (at time i) of the smallest buffer needed to hold out-of-order packets, where space is accounted for unreceived pack...

Full description

Bibliographic Details
Main Author: G. Istrate
Format: Article
Language:English
Published: Alexandru Ioan Cuza University of Iasi 2015-06-01
Series:Scientific Annals of Computer Science
Online Access:http://www.info.uaic.ro/bin/download/Annals/XXV1/XXV1_5.pdf
id doaj-28167db75fc54cbbbfdeb01ca78cf288
record_format Article
spelling doaj-28167db75fc54cbbbfdeb01ca78cf2882020-11-25T01:12:43ZengAlexandru Ioan Cuza University of IasiScientific Annals of Computer Science1843-81212248-26952015-06-01XXV113315410.7561/SACS.2015.1.133Identifying Almost Sorted Permutations from TCP Buffer DynamicsG. IstrateAssociate to each sequence A of integers (intending to model packet IDs in a TCP/IP stream) a sequence of positive integers of the same length M(A). The i’th entry of M(A) is the size (at time i) of the smallest buffer needed to hold out-of-order packets, where space is accounted for unreceived packets as well. Call two sequences A, B equivalent (written A≡FB B) if M(A) = M(B). For a sequence of integers A define SUS(A) to be the shuffled-up-sequences reordering measure defined as the smallest possible number of classes in a partition of the original sequence into increasing subsequences. We prove the following result: any two permutations A, B of the same length with SUS(A), SUS(B) ≤ 3 such that A ≡FB B are identical. The result is no longer valid if we replace the upper bound 3 by 4. We also consider a similar problem for permutations with repeats. In this case the uniqueness of the preimage is no longer true, but we obtain a characterization of all the preimages of a given sequence, which in particular allows us to count them in polynomial time. The results were motivated by explaining the behavior and engineering RESTORED, a receiver-oriented model of traffic we introduced and experimentally validated in earlier work.http://www.info.uaic.ro/bin/download/Annals/XXV1/XXV1_5.pdf
collection DOAJ
language English
format Article
sources DOAJ
author G. Istrate
spellingShingle G. Istrate
Identifying Almost Sorted Permutations from TCP Buffer Dynamics
Scientific Annals of Computer Science
author_facet G. Istrate
author_sort G. Istrate
title Identifying Almost Sorted Permutations from TCP Buffer Dynamics
title_short Identifying Almost Sorted Permutations from TCP Buffer Dynamics
title_full Identifying Almost Sorted Permutations from TCP Buffer Dynamics
title_fullStr Identifying Almost Sorted Permutations from TCP Buffer Dynamics
title_full_unstemmed Identifying Almost Sorted Permutations from TCP Buffer Dynamics
title_sort identifying almost sorted permutations from tcp buffer dynamics
publisher Alexandru Ioan Cuza University of Iasi
series Scientific Annals of Computer Science
issn 1843-8121
2248-2695
publishDate 2015-06-01
description Associate to each sequence A of integers (intending to model packet IDs in a TCP/IP stream) a sequence of positive integers of the same length M(A). The i’th entry of M(A) is the size (at time i) of the smallest buffer needed to hold out-of-order packets, where space is accounted for unreceived packets as well. Call two sequences A, B equivalent (written A≡FB B) if M(A) = M(B). For a sequence of integers A define SUS(A) to be the shuffled-up-sequences reordering measure defined as the smallest possible number of classes in a partition of the original sequence into increasing subsequences. We prove the following result: any two permutations A, B of the same length with SUS(A), SUS(B) ≤ 3 such that A ≡FB B are identical. The result is no longer valid if we replace the upper bound 3 by 4. We also consider a similar problem for permutations with repeats. In this case the uniqueness of the preimage is no longer true, but we obtain a characterization of all the preimages of a given sequence, which in particular allows us to count them in polynomial time. The results were motivated by explaining the behavior and engineering RESTORED, a receiver-oriented model of traffic we introduced and experimentally validated in earlier work.
url http://www.info.uaic.ro/bin/download/Annals/XXV1/XXV1_5.pdf
work_keys_str_mv AT gistrate identifyingalmostsortedpermutationsfromtcpbufferdynamics
_version_ 1725165399110057984