ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
640
|
Sat Jul 31 16:55:21 2004 |
| Fred Hooper | fhooper@sushisoft.com | Bug fix | Linux | 2.5.3 | Re: speeding up elog : gcc compile optimizations |
> > I noticed that the gcc compiler options in the tarball Makefile were not
> > conducive to speed. There, I tried changing the gcc options to:
> >
> > CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -W -Wall
>
> Thank your for this hint, I changed my Makefile for the production code. However, I
> could not feel any difference between the two options. The real problem is the
> function getcfg(), which gets called many thousand times internally and has to parse
> elogd.cfg each time. Once I implement a hash table for that function, elogd should
> become faster by at least a factor of two.
Yeah - What's up with that?
I have seen this discussed before - Seems like it should be a priority to get this
fixed, as doing a hash table is straightforward, and the speed increase should be pretty
health - there are several c libraries available - check out "man 3 hsearch" for the
POSIX hash table management that already available. Other c library searches that you
could use include bsearch (binary tree), tsearch (tree searching), btree (b+ tree).
However, the easiest and most obvious one to use for elog appears to be a simple hash
table search (hsearch).
Is there something else which is making this difficult to do? |
639
|
Fri Jul 30 12:26:10 2004 |
| Guenter Nowak | Guenter.Nowqak@t-systems.at | | | | Re: ?cmd=New&pType=PC does not work |
> according to the users guide,
>
> http://midas.psi.ch/elogs/Database/?cmd=New&pType=PC
>
> should create an entry with the type value set to PC, but this doesn't work
Thanks! |
638
|
Fri Jul 30 09:15:39 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | | | | Re: ?cmd=New&pType=PC does not work |
> according to the users guide,
>
> http://midas.psi.ch/elogs/Database/?cmd=New&pType=PC
>
> should create an entry with the type value set to PC, but this doesn't work
Now it works. Updated elog version under CVS and as a snapshot (see Download Page) |
637
|
Fri Jul 30 02:03:59 2004 |
| Guenter Nowak | Guenter.Nowqak@t-systems.at | | | | ?cmd=New&pType=PC does not work |
according to the users guide,
http://midas.psi.ch/elogs/Database/?cmd=New&pType=PC
should create an entry with the type value set to PC, but this doesn't work |
635
|
Wed Jul 28 22:33:08 2004 |
| Steve Jones | steve.jones@freescale.com | Bug report | All | 2.5.3 | Re: BUG?: Preset text = causes replication of text when re-editing a logbook entry. |
> > With the "Preset text = " specified, when re-editing a logbook entry (say to
> > correct a spelling error) the text of the "Message" is replicated and placed
> > directly below the original text.
>
> That should be fixed since revision 1.370 from Jul 7th, 2004. Please update.
Thanks! |
634
|
Wed Jul 28 22:32:39 2004 |
| Steve Jones | steve.jones@freescale.com | Bug report | All | 2.5.3 | Re: Date format problem in "Thread display = " |
> > I get the following in my THREADED logbook view:
> >
> > "Adding new services, planned for 1090519200. Last revised: Thu Jul 15
> > 18:03:52 2004"
>
> That should be fixed by the current version. Please update.
Thanks! |
633
|
Wed Jul 28 22:12:03 2004 |
| Todd Corsa | tcorsa@bnl.gov | Bug report | Linux | 2.5.3 | Re: Bugs in newer updates w/ Debian install? |
> > I just updated ELOG using the latest elogd.c, and now my Quick Filters seem
> > to stop working after the first or second filter attempt.
>
> Can you try if you can reproduce the problem with the current version? I tried
> your settings and could not reproduce it. I remember that I fixed some problems
> with quick filters, but that was some time ago (Apr 04). If the problem
> persists, can you send me your exact elogd.cfg?
Recai Oktas replied to me and let me know that I needed to use dpkg to create the
new Debian package instead of manually compiling it. I reverted to the original
Debian package to get everything running normally again, but I haven't had a
chance to try the upgrade again. As soon as I went back to the original elogd
everything worked fine (no changes to the elog.cfg required). I'm assuming that
the problem came from attempting to recompile a Debian package install manually.
Sorry for the bug scare!
Todd |
632
|
Wed Jul 28 22:08:16 2004 |
| Steve Jones | steve.jones@freescale.com | Request | All | 2.5.3 | Re: WISHLIST: Type <attribute> = user |
> Acknowledged. Added your vote to the wishlist.
Thanks! |