Re: Concealing short disconnects

From: stheg olloydson (stheg_olloydson_at_yahoo.com)
Date: 02/13/05

  • Next message: Anthony Atkielski: "Re: Instead of freebsd.com, why not..."
    Date: Sun, 13 Feb 2005 12:14:38 -0800 (PST)
    To: infofarmer@mail.ru
    
    

    it was said:

    >Hello guys!
    >
    >I have a few machines behind my FreeBSD box. The box connects
    >to ISP via ppp (PPPoE protocol). It's all working very nicely,
    >but the ISP is a pain - it disconnects every 24 hours. I can
    >reconnect in just a moment - so the diconnect is usually less
    >than a second long, but many applications, like ICQ/MSN and
    >games "feel" the disconnect. The matter is that these applications
    >can handle fairly large packet loss (e.g. Counter-Strike can cope
    >with at least 15-second long 100% packet loss), but AFAIK it's
    >in the nature of the TCP/UDP that a disconnect is a disconnect.
    >
    >As I know that FreeBSD is full of magic, is there any way to
    >conceal these reconnects as short moments of 100% packet loss?
    >I am ashamed to know very little about protocols' technicalities,
    >but I'll look into any sources you advise.
    >
    >Best wishes,
    >Andrew P.

    Hello,

    This is an interesting question. It could be done, but it would take
    some real work to do it, I think. Essentially, you would need a box
    that acts as a cache hold a few seconds of network traffic that would
    also properly respond properly to local and remote requests. Also, to
    ensure that multiple outages don't empty the cache, a mechanism is
    needed to answer local requests slightly slower than remote requests.
    This would cause the "cache" to be ever increasing. To prevent the
    "cache" from causing too much lag (from the remote end's point of view)
    periodically the mechanism would have to reverse direction, so to
    speak. And so on....
    Of course, I could be totally wrong about this. Hopefully, somebody
    will correct me if I am.

    Regards,

    stheg

    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Anthony Atkielski: "Re: Instead of freebsd.com, why not..."

    Relevant Pages

    • SMP on FreeBSD 6.x and 7.0: Worth doing?
      ... I will need to build several Web caches over the next few months, and just took advantage of the Christmas lull to test FreeBSD 7.0 BETA 4 to see how it will perform at this task. ... I built up a 4 core FreeBSD box, and asked a friend who's a Linux fanatic to do the same with Linux on identical hardware. ... The fetches done by each process are the same batch of URLS, but shuffled differently, so each URL will get a miss the first time and then hits each time it comes up thereafter unless the cache overflows. ... Could it be that there less concurrency or more overhead in FreeBSD file operations than there is in Linux? ...
      (freebsd-stable)
    • MegaRAID lockups under 5.5 PRELEASE
      ... on-board battery backed cache, while the main machine has 256Mb. ... FreeBSD and this model of controller. ... after some driver improvements by Scott Long. ... the other box has remained stable after the same upgrade, ...
      (freebsd-stable)
    • Re: How does disk caching work?
      ... > Is there a document anywhere that describes in detail how FreeBSD ... > such as 'FreeBSD uses all available memory for disk caching'. ... MEMORY IS A BUFFER CACHE for all device IO. ...
      (freebsd-performance)
    • Re: Problems reclaiming VM cache = XFree86 startup annoyance
      ... > hassle. ... I don't know what is causing your problem, but 'cache' pages in FreeBSD ... So the number of pages 'cache' vs. 'free' isn't the cause of the problem. ... > The latter two were in response to an installation message of a port I ...
      (freebsd-stable)