monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] [bug #28799] mtn pull hangs with invalid --keydir optio


From: Zbigniew Zagórski
Subject: [Monotone-devel] [bug #28799] mtn pull hangs with invalid --keydir option
Date: Thu, 29 Apr 2010 18:14:03 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)

Update of bug #28799 (project monotone):

                Category:              networking => performance            
      mtn version --full:                mtn-0.46 => mtn-0.46, 0.47         

    _______________________________________________________

Follow-up Comment #3:

Agree -> This is not a hangup but monotone is just incredibly slow at reading
big packets (is this only here?).

(It just happened that I had big files in my home folder)

--
$ ls -l /home/zbigg/bar/
total 984
-rw-r--r-- 1 zbigg zbigg 1000000 2010-04-29 14:08 one_megabyte_file
$ time mtn --keydir /home/zbigg/bar ls keys
mtn: no keys found

real    0m52.541s
user    0m52.450s
sys     0m0.080s
|i686| address@hidden:/home/zbigg/bar
--

This is in read_packets(packets.cc) bug which tries to read packet in 255
byte chunks and suffers heavily with "Shlemiel the painter's algorithm"
problem (constantly searches buffer for [end] string). Probably some
Optimization is needed here. (Wandering if this doesn't affect overall
monotone performance)

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?28799>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]