From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9704211359.AA23107@dcl.MIT.EDU> Date: Mon, 21 Apr 1997 09:59:35 -0400 From: Theodore Y. Ts'o Subject: Re: binaries of ef2progs-1.09 for Alpha In-Reply-To: <199704200114.TAA00886@ellpspace.math.ualberta.ca> From: Michal Jaegermann Date: Sat, 19 Apr 1997 19:14:24 -0600 (MDT) There is one small problem, though. I do not know if my headers on Alpha are in a sorry state, or this is more general (if you know please tell me). I could not recompile these programs until I did the following modification in sources (which do not look right, but were necessary): I don't know. I don't have an Alpha yet. (Anyone have a spare Alpha they'd be willing to give to me, just let me know. :-) I also know why I dislike a way of compiling with a help of rpm (if somebody knows more reasonable way to create packages I am all ears). If something will go wrong and has to be fixed then rpm starts everything from scracth and its first action is to clobber your modified sources with an old copy from .tar.gz file. Big sigh! Anybody know some way to restart this process in the middle? Read the man pages for rpm --short-circuit; it's handy for these sorts of things. My self, I generally cd to /usr/src/redhat/BUILD/, and then edit the sources and compile manually until everything is working. Then, I generate a new set of patches, put the patches into the SOURCE directory (updating the spec file as needed), and then do a full RPM build to make sure I generated the patches correctly. (That's how come RPM is done the way that it's done; it really wants to make sure that before you actually generate a binary package, it can be generated reliably from sources such that the source SRPM accurately reflects the actually generated binary.) Beyond that things seem to be peachy. :-) In particular I just "yanked a cord" on Alpha system with a freshly installed new fsck to see if it will recover. It did. :-) "Unaligned access" warnings are gone, as far as I can tell, but checks seemed to be on a slow side despite Ted's comments in sources which seem to indicate that this should not be the case anymore. I'd really like to know more about "checks being slow", if you wouldn't mind investigating this. There are two things you can do. The first is to use "e2fsck -nfvtt /dev/device" to get per-pass timing inforamtion. This is useful in order to determine which pass is getting slowed down, and whether the slowdown is due to I/O or CPU overhead. (Note that with the new GNU mallocs which use mmap() to allocate memory for large memory allocation requests, the memory used statistics is generally not accurate, since that uses sbrk(2) to try to estimate the amount of data memeory used.) The other thing you can do is compile with profiling (assuming that the speed hit is due to CPU overhead, which is likely the case). There's also some standard questions which would help me try to figure out what's going on. How big is the filesystem? What base hardware are you using? What sort of special usages (if any) does the filesystem have? (i.e., news spool, small numbers of very large files, etc.) I've personally tested e2fsprogs 1.09 on the i386 architectures, on disks up to 1 gigabyte, and the performance roughly comparable with version 1.06. I've also had someone else test a pre-release version of e2fsprogs 1.09 on a i386 with a 12 gig news spool, and the performance was mostly the same. I do welcome other data points. - Ted -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com