[Vm-dev] Re: [Pharo-project] SocketPlugin: ignoring unknown option 'TCP_CORK'

Eliot Miranda eliot.miranda at gmail.com
Sun Feb 12 23:08:27 UTC 2012


Hi Phillipe,

    you'll need to add TCP_CORK to the list of known options in
platforms/unix/plugins/SocketPlugin/sqUnixSocket.c

On Sat, Feb 11, 2012 at 1:51 PM, Philippe Marschall <kustos at gmx.net> wrote:

> Hi
>
> I had this crazy idea, what instead of buffering at the application level
> I use the native buffer of the socket? I would be doing more or less this:
>
> set TCP_CORK to 1
> set TCP_NODELAY to 0
>
> do individual writes
>
> set TCP_CORK to 0
> set TCP_NODELAY to 1
>
> do last write
>
> goto 1
>
> (use TCP_NOWAIT and TCP_NOPUSH on BSD/MacOS)
>
> I hacked something together and tried to push it through some benchmarks
> but the SocketPlugin was not very impressed:
>
> SocketPlugin: ignoring unknown option 'TCP_CORK'
>
> This is on Linux with Cog.
>
> Cheers
> Philippe
>
>
>


-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120212/eaf558ff/attachment.htm


More information about the Vm-dev mailing list