[Mono-devel-list] Strange performance drop with svn code lately

Francisco Figueiredo Jr. fxjrlists at yahoo.com.br
Mon Dec 13 19:33:06 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi all,


while developing Npgsql, I keep running the nunit-console tests.

~From some time ago, I keep seeing some performance drops when seeing
dots appearing more and more slower in my screen :)

I thought it could be some overhead I could be adding to Npgsql, but
after some svn ups and no Npgsql modifications I could see a little more
performance drop.

I downloaded an 1.0 source release just to confirm what I was seeing.

These are my results:


~From Mono 1.0

make run-test
MONO_PATH="../../class/lib/default:$MONO_PATH" mono  --debug
../../class/lib/nunit-console.exe Npgsql_test.dll
NUnit version 2.2.0
Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A.
Vorontsov, Charlie Poole.
Copyright (C) 2000-2003 Philip Craig.
All Rights Reserved.


OS Version: Unix 2.6.10.0    Mono Version: 1.1.4322.573

..................F...F.F.........F.F......F.......F..................

Tests run: 63, Failures: 7, Not run: 0, Time: 5.98414 seconds

which mono
/home/fxjr/Apps/mono-1.0/bin/mono


~From Mono svn:
make run-test
MONO_PATH="../../class/lib/default:$MONO_PATH" mono  --debug
../../class/lib/nunit-console.exe Npgsql_test.dll
NUnit version 2.2.0
Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A.
Vorontsov, Charlie Poole.
Copyright (C) 2000-2003 Philip Craig.
All Rights Reserved.



OS Version: Unix 2.6.10.0    Mono Version: 1.1.4322.573

..................F...F.F.........F.F......F.......F..................

Tests run: 63, Failures: 7, Not run: 0, Time: 9.036523 seconds


~ which mono
/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit/install2.0/bin/mono


I'm assuming that as the nunit command is being called with just mono it
is using the mono in my path.



Also, from long time, I could also see that disk writing performance has
been suffering very much. Or it was the code which retrieves the process
id, because when I turn Npgsql log on, the performance gets even worst
and npgsql log writes to disk and get the current time and process id.

And that disk performance change was a single snapshot, I mean, it
hasn't be increasing and it was from a release to other. I think it
started happening in 0.35, sorry for not reporting that before, but I
thought it could be some code which would be fixed/optimized later, but
it wasn't.

I don't know, but I think it could be some network code, because I can
see from server logging that Npgsql queries are taking more time to go
to server.

Please note that I didn't do any extensive performance tests about that.
I just noticed that when running Npgsql nunit-tests.

Please, give it a try with some performance code to check if this
happens to you too.


If there is something I can do to help testing, please let me know.



Thanks in advance.


- --
Regards,

Francisco Figueiredo Jr.
Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org



- -------------
"Science without religion is lame;
religion without science is blind."

~                  ~ Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQb40wv7iFmsNzeXfAQLcJQf/X4ps9jzRJPOgOPDwlekXAuEVzYbM2clq
vABqgMhqJub32YK7O8SzFpASfV6YvFvnGpFuDcifHHpRTGdB91ONpaJX8S7IGlX3
i/deqwyhuGwnslPJLICnWueBK00GsN/48g9Kn4hon0tor76hh+GFO2eCLe9I9sse
RPqvyZdyKIofaxWAsaRmhPBnxf9KwzemhtMuVjJJGqa/oceepg9bLhXhDJClqtBS
ylQ+0gfJQ/dJ/b7hpoFaPYgGjJVYAj9w29iFeGhBUonLFq2NpLuHs+hFQRDrXxJt
8V2UtJqSVS71TOhHVu3uZHiyxrKTvS7jdJxmfDg8qRaAu5HQa0D6qA==
=S/TM
-----END PGP SIGNATURE-----



More information about the Mono-devel-list mailing list