[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tor-dev
Subject:    Re: [tor-dev] Help with rebasing arma's n23-5 tor branch to current master
From:       Charlie Belmer <charlie.belmer () gmail ! com>
Date:       2013-07-30 18:44:26
Message-ID: CAH+=uu+tAkWs1jcL4ySySk3cfiO9QyRzn4Cv4EKEe_kyzVwoTQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Karsten,

I probably can't make the meeting since it is during my work day, but I'll
try. I might be able to just leave myself logged in to the chat from home
so I can read the transcript later.

You can grab my commits here: http://www.charliebelmer.com/tor.git:

git clone http://www.charliebelmer.com/tor.git

Basically, I took Arma's branch, and rebased the current master onto it.
There were a number of merge issues, including the connection to channel
changes that Andrea developed. I believe that I converted N23 to work with
channels correctly, though I am still trying to figure out how to actually
validate it properly (aside from basic run testing - advice / thoughts /
instructions welcome!). I expect it will need some tweaks.

I started playing around with Chutney, but I don't fully understand what it
does yet, so more to come there.

I would be happy to help take this section forward however you need - it
sounds interesting learning how to test this to see what performance gains
it might yield, if any.

Charlie


On Tue, Jul 30, 2013 at 4:05 AM, Karsten Loesing <karsten@torproject.org>wrote:

> On 7/27/13 5:55 PM, Charlie Belmer wrote:
> > Hey Everyone,
> >
> > I wanted to give quick update on N23 rebasing progress:
> >
> >    - Rebase N23 onto Master (Complete)
> >    - Refactor N23 to use channels (Complete)
> >    - Make clean w/ check-spaces (50%. ETA 7/28)
> >    - Testing with Chutney (To-Do)
>
> Sounds great!
>
> We'll have an IRC meeting on Wed July 31, 18:00 to 19:00 UTC in #tor-dev
> to discuss deliverables including this one.
>
> Can you give me more details what you achieved and maybe push your
> rebased branch somewhere, so that I can report your progress at the
> meeting?
>
> Or do you want to join the meeting?  If so, see my earlier mail to this
> list for details.
>
> Thanks!
> Karsten
>
>
> > On Thu, Jul 18, 2013 at 11:43 AM, Karsten Loesing <
> karsten@torproject.org>wrote:
> >
> >> On 7/18/13 5:30 PM, Charlie Belmer wrote:
> >>> Karsten, I'll take a shot at it. Is there a specific timeline I should
> be
> >>> aware of? My C is a little rusty and I am working to learn the codebase
> >>> (This sounds like a good opportunity to learn more). I don't want to
> bite
> >>> off more than I can chew if there is a tight release timeline.
> >>
> >> Neat!
> >>
> >> We have until end of October to "Write a proposal for N23, and write a
> >> patch for N23 that functions correctly. Then simulate it to see how it
> >> performs for typical and for really slow client connections."
> >>
> >> We're sorta doing this in opposite direction, because there's already a
> >> patch, and we want to find out if performance improvements are worth
> >> writing a proposal and cleaning up the patch enough to actually merge it
> >> into 0.2.5.x.
> >>
> >> So, we have 3.5 months for everything.  I'd think that 1 month for
> >> rebasing the existing branch would leave us enough time to run
> >> simulations and possibly write the proposal.  Is mid-August a reasonable
> >> time frame for you?
> >>
> >> Of course, if you realize you can't work on this, please let us know as
> >> early as possible, so that somebody else can give it a try.
> >>
> >> Thanks for helping!
> >>
> >> Best,
> >> Karsten
> >>
> >>
> >>> On Thu, Jul 18, 2013 at 8:50 AM, Karsten Loesing <
> karsten@torproject.org
> >>> wrote:
> >>>
> >>>> Dear tor-devs,
> >>>>
> >>>> is anyone here up for a coding task that could help us research
> >>>> performance improvements of the N23 design more?
> >>>>
> >>>> The situation is that we already have a branch (n23-5 in arma's public
> >>>> repository), but it's based on 0.2.4.3-alpha-dev and needs to be
> rebased
> >>>> to current master.
> >>>>
> >>>> In theory, it's as simple as the following steps:
> >>>>
> >>>> $ git clone https://git.torproject.org/tor.git
> >>>> $ cd tor/
> >>>> $ git remote add arma https://git.torproject.org/arma/tor.git
> >>>> $ git fetch arma
> >>>> $ git checkout -b n23-5 arma/n23-5
> >>>> $ git fetch origin
> >>>> $ git rebase origin/master
> >>>> (clean up the mess)
> >>>> $ git add
> >>>> $ git commit
> >>>> $ git rebase --continue
> >>>> (back to clean-up-the-mess step until git is happy)
> >>>> $ git push public n23-5
> >>>>
> >>>> Bonus points if you make sure the branch compiles with gcc warnings
> >>>> enabled, appeases make check-spaces, and runs peacefully in a private
> >>>> Chutney network.
> >>>>
> >>>> Unfortunately, the n23-5 branch touches a few places in the tor code
> >>>> that have been refactored in current master, including Andrea's
> >>>> connection/channel rewrite.  It might be necessary to dive into the
> >>>> channel thing in order to get this rebase right.
> >>>>
> >>>> Once we have a refactored n23-5 branch, I'll try to simulate it in
> >> Shadow.
> >>>>
> >>>> For a tiny bit of context, this is for our sponsor F item 13:
> >>>>
> >>>>
> >>
> https://trac.torproject.org/projects/tor/wiki/org/sponsors/SponsorF/Year3
> >>>>
> >>>> I'm asking here, because the usual suspects are already overloaded
> with
> >>>> other stuff.  As usual, I guess.
> >>>>
> >>>> Thanks,
> >>>> Karsten
> >>>> _______________________________________________
> >>>> tor-dev mailing list
> >>>> tor-dev@lists.torproject.org
> >>>> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
> >>>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> tor-dev mailing list
> >>> tor-dev@lists.torproject.org
> >>> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
> >>>
> >>
> >>
> >
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div>Hi Karsten,<br><br>I probably can&#39;t make the \
meeting since it is during my work day, but I&#39;ll try. I might be able to just \
leave myself logged in to the chat from home so I can read the transcript later.<br> \
<br></div><div>You can grab my commits here: <a \
href="http://www.charliebelmer.com/tor.git">http://www.charliebelmer.com/tor.git</a>:<br></div><div \
style="margin-left:40px"><span style="font-family:courier new,monospace"><br> git \
clone <a href="http://www.charliebelmer.com/tor.git">http://www.charliebelmer.com/tor.git</a><br><br></span></div>Basically, \
I took Arma&#39;s branch, and rebased the current master onto it. There were a number \
of merge issues, including the connection to channel changes that Andrea developed. I \
believe that I converted N23 to work with channels correctly, though I am still \
trying to figure out how to actually validate it properly (aside from basic run \
testing - advice / thoughts / instructions welcome!). I expect it will need some \
tweaks.<br> <br></div>I started playing around with Chutney, but I don&#39;t fully \
understand what it does yet, so more to come there.<br><br></div>I would be happy to \
help take this section forward however you need - it sounds interesting learning how \
to test this to see what performance gains it might yield, if any.<br> \
<br></div>Charlie<br><div><div><div><div><div><span style="font-family:courier \
new,monospace"></span></div></div></div></div></div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 4:05 AM, \
Karsten Loesing <span dir="ltr">&lt;<a href="mailto:karsten@torproject.org" \
target="_blank">karsten@torproject.org</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="im">On 7/27/13 5:55 PM, Charlie Belmer wrote:<br> \
&gt; Hey Everyone,<br> &gt;<br>
&gt; I wanted to give quick update on N23 rebasing progress:<br>
&gt;<br>
</div>&gt;    - Rebase N23 onto Master (Complete)<br>
&gt;    - Refactor N23 to use channels (Complete)<br>
&gt;    - Make clean w/ check-spaces (50%. ETA 7/28)<br>
&gt;    - Testing with Chutney (To-Do)<br>
<br>
Sounds great!<br>
<br>
We&#39;ll have an IRC meeting on Wed July 31, 18:00 to 19:00 UTC in #tor-dev<br>
to discuss deliverables including this one.<br>
<br>
Can you give me more details what you achieved and maybe push your<br>
rebased branch somewhere, so that I can report your progress at the meeting?<br>
<br>
Or do you want to join the meeting?  If so, see my earlier mail to this<br>
list for details.<br>
<br>
Thanks!<br>
<div class="HOEnZb"><div class="h5">Karsten<br>
<br>
<br>
&gt; On Thu, Jul 18, 2013 at 11:43 AM, Karsten Loesing &lt;<a \
href="mailto:karsten@torproject.org">karsten@torproject.org</a>&gt;wrote:<br> \
&gt;<br> &gt;&gt; On 7/18/13 5:30 PM, Charlie Belmer wrote:<br>
&gt;&gt;&gt; Karsten, I&#39;ll take a shot at it. Is there a specific timeline I \
should be<br> &gt;&gt;&gt; aware of? My C is a little rusty and I am working to learn \
the codebase<br> &gt;&gt;&gt; (This sounds like a good opportunity to learn more). I \
don&#39;t want to bite<br> &gt;&gt;&gt; off more than I can chew if there is a tight \
release timeline.<br> &gt;&gt;<br>
&gt;&gt; Neat!<br>
&gt;&gt;<br>
&gt;&gt; We have until end of October to &quot;Write a proposal for N23, and write \
a<br> &gt;&gt; patch for N23 that functions correctly. Then simulate it to see how \
it<br> &gt;&gt; performs for typical and for really slow client \
connections.&quot;<br> &gt;&gt;<br>
&gt;&gt; We&#39;re sorta doing this in opposite direction, because there&#39;s \
already a<br> &gt;&gt; patch, and we want to find out if performance improvements are \
worth<br> &gt;&gt; writing a proposal and cleaning up the patch enough to actually \
merge it<br> &gt;&gt; into 0.2.5.x.<br>
&gt;&gt;<br>
&gt;&gt; So, we have 3.5 months for everything.  I&#39;d think that 1 month for<br>
&gt;&gt; rebasing the existing branch would leave us enough time to run<br>
&gt;&gt; simulations and possibly write the proposal.  Is mid-August a reasonable<br>
&gt;&gt; time frame for you?<br>
&gt;&gt;<br>
&gt;&gt; Of course, if you realize you can&#39;t work on this, please let us know \
as<br> &gt;&gt; early as possible, so that somebody else can give it a try.<br>
&gt;&gt;<br>
&gt;&gt; Thanks for helping!<br>
&gt;&gt;<br>
&gt;&gt; Best,<br>
&gt;&gt; Karsten<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; On Thu, Jul 18, 2013 at 8:50 AM, Karsten Loesing &lt;<a \
href="mailto:karsten@torproject.org">karsten@torproject.org</a><br> &gt;&gt;&gt; \
wrote:<br> &gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Dear tor-devs,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; is anyone here up for a coding task that could help us research<br>
&gt;&gt;&gt;&gt; performance improvements of the N23 design more?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The situation is that we already have a branch (n23-5 in arma&#39;s \
public<br> &gt;&gt;&gt;&gt; repository), but it&#39;s based on 0.2.4.3-alpha-dev and \
needs to be rebased<br> &gt;&gt;&gt;&gt; to current master.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; In theory, it&#39;s as simple as the following steps:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; $ git clone <a href="https://git.torproject.org/tor.git" \
target="_blank">https://git.torproject.org/tor.git</a><br> &gt;&gt;&gt;&gt; $ cd \
tor/<br> &gt;&gt;&gt;&gt; $ git remote add arma <a \
href="https://git.torproject.org/arma/tor.git" \
target="_blank">https://git.torproject.org/arma/tor.git</a><br> &gt;&gt;&gt;&gt; $ \
git fetch arma<br> &gt;&gt;&gt;&gt; $ git checkout -b n23-5 arma/n23-5<br>
&gt;&gt;&gt;&gt; $ git fetch origin<br>
&gt;&gt;&gt;&gt; $ git rebase origin/master<br>
&gt;&gt;&gt;&gt; (clean up the mess)<br>
&gt;&gt;&gt;&gt; $ git add<br>
&gt;&gt;&gt;&gt; $ git commit<br>
&gt;&gt;&gt;&gt; $ git rebase --continue<br>
&gt;&gt;&gt;&gt; (back to clean-up-the-mess step until git is happy)<br>
&gt;&gt;&gt;&gt; $ git push public n23-5<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Bonus points if you make sure the branch compiles with gcc \
warnings<br> &gt;&gt;&gt;&gt; enabled, appeases make check-spaces, and runs \
peacefully in a private<br> &gt;&gt;&gt;&gt; Chutney network.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Unfortunately, the n23-5 branch touches a few places in the tor \
code<br> &gt;&gt;&gt;&gt; that have been refactored in current master, including \
Andrea&#39;s<br> &gt;&gt;&gt;&gt; connection/channel rewrite.  It might be necessary \
to dive into the<br> &gt;&gt;&gt;&gt; channel thing in order to get this rebase \
right.<br> &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Once we have a refactored n23-5 branch, I&#39;ll try to simulate it \
in<br> &gt;&gt; Shadow.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; For a tiny bit of context, this is for our sponsor F item 13:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt; <a href="https://trac.torproject.org/projects/tor/wiki/org/sponsors/SponsorF/Year3" \
target="_blank">https://trac.torproject.org/projects/tor/wiki/org/sponsors/SponsorF/Year3</a><br>
 &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;m asking here, because the usual suspects are already \
overloaded with<br> &gt;&gt;&gt;&gt; other stuff.  As usual, I guess.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt;&gt; Karsten<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; tor-dev mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:tor-dev@lists.torproject.org">tor-dev@lists.torproject.org</a><br>
 &gt;&gt;&gt;&gt; <a \
href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" \
target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev</a><br> \
&gt;&gt;&gt;&gt;<br> &gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; tor-dev mailing list<br>
&gt;&gt;&gt; <a href="mailto:tor-dev@lists.torproject.org">tor-dev@lists.torproject.org</a><br>
 &gt;&gt;&gt; <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" \
target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev</a><br> \
&gt;&gt;&gt;<br> &gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>



_______________________________________________
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic