Zeus is incredibly slow when saving files over the network

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
cmulzer
Posts: 1
Joined: Wed May 10, 2006 8:06 pm

Zeus is incredibly slow when saving files over the network

Post by cmulzer »

Zeus appears to have a serious flaw when working with remote file systems. I have to wait several minutes as a 50k file is saved when working remotely. When using other editors such as PFE or even Notepad I don't even notice a difference between working from home or being in the office. But with Zeus it's so slow that it borders on being unusable. I don't know what's going on internally, but it acts like it's using a 1 byte buffer and waits for an ack before sending the next byte. I can get on the remote Unix system and watch the bytes trickle in. In the office where the round trip time is very low, Zeus is usable, but remotely it's more irritating than useful.

If you have no solution for this I'd like to get a refund and move on to another editor.

Thanks.

Zeus 3.95t
Windows XP
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Zeus appears to have a serious flaw when working with remote file systems. I have to wait several minutes as a 50k file is saved when working remotely.

Over the years this issue has been reported about three times by three different users, but I have never been able to replicate this issue.

Does the file load work fine :?:

Is it only the file save that is slow :?:
When using other editors such as PFE or even Notepad I don't even notice a difference between working from home or being in the office.

This is exactly how Zeus behaves for me when I use it to edit network files. Over the years I have used the Zeus on many different company networks and unfortunately I have never seen this issue :(

Personally I would love to know what is causing the problem, but as I have not been able to replicate the issue it is impossible to say why this is happening :(
I don't know what's going on internally, but it acts like it's using a 1 byte buffer and waits for an ack before sending the next byte.

This might be how the network might is behaving, but internally Zeus definitely does not write the file a byte at a time.

Zeus does nothing more than use the WriteFile Win32 API and writes the file out a line at a time:

Code: Select all

int __iwrite(int handle, const void *pBuffer, int count)
{
  if (count == 0) return count;

  DWORD result;

  if (!::WriteFile((HANDLE)handle, pBuffer, count, &result, NULL ))
      return -1;

  return result;
}
I can get on the remote Unix system and watch the bytes trickle in.

This is why the issue is so hard to fix. Even if Zeus was writting the file a line at a time, why is the network taking the line and splitting it into a character at a time :?:

I don't for a minute doubt that this is happening, but it since I have never seen this issue and since it has been only report a small number of times, I have no idea what is causing the slow down :(
If you have no solution for this I'd like to get a refund and move on to another editor.
If the file load works fine and it is only the save that is slow then it might be possible to fix this by adding extra buffering to the file save :?:

But if both the load and the save are slow then send through an email with your RegNet purchase details to sales at zeusedit dot com ,titled Zeus Refund and I will arrange a refund.

Cheers Jussi.
Last edited by jussij on Fri Nov 02, 2012 11:33 pm, edited 1 time in total.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

The latest Zeus patch found here: http://www.zeusedit.com/forum/viewtopic.php?t=570

adds file buffering to the file save.

This will hopefully improve the speed of the file save when working with network files.

Cheers Jussi
Post Reply