Skip to content

Revise network settings for ADSL and LAN settin #72

@nitomartinez

Description

@nitomartinez

The settings in nxcomp are setup for:

  • ADSL. 256kbps. Current standard is at least 1Mbps (lowest end throughout the world), and usually more than 3Mbps
  • LAN. 10/100 Mbps. Usually nowadays it is used 1Gbps

Items to solve:

  • Update the current speed settings.
  • This probably needs to have the same changes in the server and in the client. That is a change in the settings in the client, needs to have the same settings in the server (Best Guess).

Transition options:

  • Create new speed settings (See SetLink function in Loop.cpp),
  • Make it dependant on versioning. See if some special care needs to be taken if different settings (See SetVersion in Loop.cpp)

Example bit to be changed. In Loop.cpp we get:

//
// Parameters for ADSL 256 Kbps.
//

int SetLinkAdsl()
{
  #ifdef TEST
  *logofs << "Loop: Setting parameters for ADSL.\n"
          << logofs_flush;
  #endif

  control -> LinkMode = LINK_TYPE_ADSL;

  control -> TokenSize  = 512;
  control -> TokenLimit = 24;

  control -> SplitMode             = 1;
  control -> SplitTotalSize        = 128;
  control -> SplitTotalStorageSize = 1048576;

  control -> SplitTimeout   = 50;
  control -> MotionTimeout  = 10;
  control -> IdleTimeout    = 50;

  control -> PackMethod  = PACK_ADAPTIVE;
  control -> PackQuality = 7;

  return 1;
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions