Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!dgsi!paulh From: paulh@cimage.com (Paul Haas) Newsgroups: comp.windows.x Subject: More than 4096 bytes per write to an Xserver on a Sun? Message-ID: <1991Feb13.012043.1592@cimage.com> Date: 13 Feb 91 01:20:43 GMT Reply-To: paulh@cimage.com (Paul Haas) Organization: Cimage Corp, Ann Arbor, MI Lines: 22 Our application tends to spend too much time talking to the X server. We spend many minutes moving large images between the server and the client. A trace of the client reveals the following repeated thousands of times: ---------Cut here--------- writev (4, 0xf7ffead8, 1) = 4096 writev (4, 0xf7ffead8, 1) = -1 EWOULDBLOCK (Operation would block) select (5, 0xf7ffea68, 0xf7ffea60, 0, 0) = 1 ---------Cut here--------- On a Sun, Sparcstation 1+, running Sun OS 4.1.1 is it possible to increase the size of the IPC buffer? The client and server are on the same host, so shared memory would work, if anyone has implimented it. Our long term solution is to store the large images only on the client, and only send things to display to the server. So I'm looking for a quick and easy short term solution. Many thanks. --------------------------------------------------------- Paul Haas paulh@cimage.com +1-313-761-7478