---1295196120-389210690-985638002=:4705
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello,
The attached program attempts to show what happens when a
server tries to talk to a forked child on a UP machine.
The response time using a UNIX socket is awful.
When the machine uses software compiled for a SMP machine, the
data-rate is about 13 bytes / microsecond. This is not too
bad, but less than I would expect.
When the same machine uses software compiled for a UP machine,
therefore not using the second CPU, the data-rate is about
0.4 bytes / microsecond.
Running this same program on a Sun shows about 20 bytes / microsecond.
This is more like what I would expect.
It seems as though the problem is that, even though poll is called
(which should give up the CPU), the child waiting for data is not
given the CPU for a long time (perhaps the next timer-tick??).
I have not tried to use a named pipe for communications. Maybe
this is faster?
If anybody has some suggestions, please answer by the end-of-the
day. My machine will be off-the-air until I convince (@&$^@$)!)
that Linux is not a security hazard. This may take several
days.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).
"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.
---1295196120-389210690-985638002=:4705
Content-Type: APPLICATION/octet-stream; name="bugs.tar.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.95.1010326152002.4705B@chaos.analogic.com>
Content-Description:
H4sIAGagvzoAA+06C3AcR5U90sqWFzlWzglxwHCNY4VdIq13Vx9/FAfL+jgi
iqST5NhHcCar3VntyqsdsTvrSARDjKwEnWxKPi7JVV0cwq8udZfjwkHufAWX
S5WpcnJXgIGQcoGdMlQoRkUIThESY8le3uvu2ekZyY4DmNRx86p6e173e6/7
vf6996TBwlB+HbmyQBvC6xsbKaEIYVctELo+2rh+fTQcro9QGglDTWjjFZ4X
g0LeiOUoJTldNy5F92b9/0dhENf/9thuLZnOaFdoDFjOpoaGi69/BNcc17+p
oTFSXw8NkcZoA6HhKzQfB/w/X3+/v7V1Mx2Kx2ndjlgmQ+t6on4/fGxals/o
9/j9+Mu/Q3H/srWB1tYgrdMpNlDR6o9ntFh2k39ZboTWJSnn87/dinlwWcDO
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pcz/GQJv4rhp0s4TzaaJZxnyc6UcJ4Zs97wcpZFsXM05a7sXDl7
Re0cTbkri1bOsm0yfp0LX+VYFx95tYgaPXG/5UP42X1r2asM7EUle5SBPWre
hB8D8ucfsXyK5SyvapbwanYPnpD6uyX+MuBPSPZUwJ6Yx39N6scIGkPbVax/
JZmGel7qfxjq1Q/Y+Bcc8paTJ4m9PhClLKrPiWlbn6clHOXh+/OSxI/jkQMX
H+8nxPbfUP9XXPotth6WvXH8+UX61z5g95crzpwp5vjknOm1rpzpasWZMw0o
zpxpg+LMmW5UnDnPrYozZ9qlOHOmfYozZ7pTceZI75YUplDGFGfO9JOKM2d6
SHHmTB9SnDnTf1CcOdPHXTlOzLOjvb7mw34/+U/FmUN9WrHPM4X1ek5x5lS/
qzhzqi8ozpzqT1zjmYozp3rBlVMtL3PmVK8pc+ZUry+z51MN87lRulPRXjeX
OXOuW139BN029NQgchmKx6MquF2jEJ8kQqSrty+CP1ESzxl5o5BMAs0oZirV
toGePrWrs39AVQkyZDQDOOqhJ6GrQxl9MJZRmWenxgpj0Np+q9rR13J7u7q1
fVtnNzDhiGqiMDIyTvTBYS1uhDYQ5hiKRpa+5Z8Q+sQ11dBVkRBtlcaWx4tL
4zGa9u42RtImI3waHBMBWynFa2eZRQ5WygPLOWMWoZWyuXZelyegRcAm8sow
Qy2nDaXz4FVz1xeoknop27sgW82CPhbuOTLOciIY/9WNR4hoEksSc7dFBltO
O4tE8uKJc0wpL8iP8yS4KgtXF9NBJMCdSXsPPPDAAw888MADDzzwwAMPPPDA
Aw888MADDzzwwAMPPPDAAw88eBvgd2RMnLQAUAAA
---1295196120-389210690-985638002=:4705--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/