This document contains only my personal opinions and calls of judgement, and where any comment is made as to the quality of anybody's work, the comment is an opinion, in my judgement.
hdparm -t
),
for example from about 55MB/s to about 33MB/s for a value of
32 cycles.
title Xen Fedora 5 kernel (hd1,5)/boot/xen.gz dom0mem=120000 module (hd1,5)/boot/vmlinuz-2.6.12-1.1400_FC5xen0 ro \ vga=ext reboot=warm pci=biosirq \ elevator=anticipatory root=/dev/hdb6 module (hd1,5)/boot/initrd-2.6.12-1.1400_FC5xen0.imgSo far Xen works pretty well and is quite fast, even if I have had some lockups. I suspect the bleeding edge Fedora kernel; also the Fedora firewall seems to have some issues. It seems quite practical to just run always under Xen, to enjoy for example fast save and restore to disk.
sysfs
and hotplug
can only get worse: the zd1201
driver requires
that the firmware for the peripheral it supports be loaded,
and what now happens is that it creates on loading a
sysfs
entry to enable the loading, and after a
short timeout this entry is removed. This means that just
about the only way to load the firmware is to have
hotplug
enabled.
hotplug
and
sysfs
.zd1201
) is incorporated in the mainline kernel
as of release 2.6.12 so that the patch mentioned
previously
is no longer necessary./etc/fonts/local.conf
.title hda1 root (hd0,0) kernel (hd0,0)/boot/bzimage root=/dev/hda1 title C: rootnoverify (hd0,2) chainloader (hd0,2)+1and a
mkisofs
line to create a filesystem image
for booting GRUB:
mkisofs -no-emul-boot \ -boot-info-table -c boot/boot.catalog \ -boot-load-size 32 -b boot/grub/iso9660_stage1_5 \ -r -J -l -o /tmp/grubboot.iso /tmp/grubboot/If the bootloader one uses does not support boot choices/menus it is possible to construct a CD image with multiple boot image choices using the
-eltorito-alt-boot
options to mkisofs
but this require multiple boot
choice handling in the BIOS and this is not implemented in a
significant number of cases.
lib
in front of the name if
it is a runtime library package, has appeared in Fedora too,
after having been dumbly adopted by Mandriva.
termcap
library is called termcap-2.0.8.tar.bz2
and is
packaged as libtermcap-2.0.8-39.src.rpm
.
Looking inside the source package one also finds some silly
inconsistency in naming, with patches have different base
names:
$ rpm -qlp libtermcap-2.0.8-39.src.rpm libtermcap-2.0.8-ia64.patch libtermcap-aaargh.patch libtermcap.spec termcap-116934.patch termcap-2.0.8-bufsize.patch termcap-2.0.8-colon.patch termcap-2.0.8-compat21.patch termcap-2.0.8-fix-tc.patch termcap-2.0.8-glibc22.patch termcap-2.0.8-ignore-p.patch termcap-2.0.8-instnoroot.patch termcap-2.0.8-setuid.patch termcap-2.0.8-shared.patch termcap-2.0.8-xref.patch termcap-2.0.8.tar.bz2 termcap-buffer.patch
lib
prefix, for example ncurses-5.4.tar.bz2
is
packaged quite properly:
$ rpm -qlp ncurses-5.4-17.src.rpm ncurses-5.4-20041218.patch ncurses-5.4-20041225.patch ncurses-5.4-20050101.patch ncurses-5.4-20050108.patch ncurses-5.4-20050115.patch ncurses-5.4-20050122.patch ncurses-5.4-xterm-kbs.patch ncurses-5.4.tar.bz2 ncurses-linux ncurses-linux-m ncurses-resetall.sh ncurses.spec patch-5.4-20041211.shstill note the marvelous idea of having one of the patches called
patch
.
good taste.
/usr/lib/news/bin/procbatch
, to merging all those
internal components into the public base directories, like
/usr/bin/procbatch
. I then submitted a bug
report, and was told to lump it. Cool, and roughly on the same
day I stopped using RedHat, because if they had people who
could gleefully do that and persist obviously things were
going downhill.
99.9% free but with proprietary bits as limpet minesgame that RedHat have later finessed to a truly clever degree with proprietary _trademarked_ names logos and icons). Then Mandriva at one point switched to the stupid
lib
prefix naming
convention, and at that demonstration of loss of good taste I
just switched to Debian. After all if one is prepared to
tolerate dumb bad taste, let's get it direct from the source,
which at least is politically correct.
ar
archives containing tar.gz
archives was a good package format? Never mind the other huge
problems), the starting of daemons on package upgrade even
if they are disabled in the init
runlevel
config, and the social problems that cause very
infrequent releases, and so on.
Red Hat will create the Fedora Foundation with the intent of moving Fedora project development work and copyright ownership of contributed code to the Foundation.with no mention of trademarks, a beautiful example of corporate cleverness. Copyrights matter a lot less because those are GPL'ed anyhow, but there is no GPL for trademarks or GPL equivalent permissions for RedHat's trademarks.
Performance
preferences
to preload a copy in the background. My naive expectation was
that on quitting it would because of that restart it. Fat
chance.
hatefullimitations.
Making fine prints in your digital darkroom Monitor calibration and gamma.
Yet another gamma correction page.
"Brightness" and "Contrast" controls.
The Monitor calibration and Gamma assessment page. I particularly like the target gamma visual tests in this page, which are provided at three different intensity levels. My LG L1710B LCD monitor was tuned fairly easily. I can get a final gamma of 1.8 with X gamma set to 1.2 and contrast set to 90/100 and brightness to 75/100. Image quality is rather good. I had set it almost to those values by judgement with brightness and contrast set a tiny bit too low. I suspect that lots of people set their monitor to excessively low brightness levels, which are the default.
ORN: A lot of companies have been using OpenSSH in their products (Sun Microsystems, Cisco, Apple, GNU/Linux vendors, etc.). Did they give anything back, like donations or hardware?It is so ironic because the OpenBSD project is committed to the BSD license, which does not require anything other than credit or, in its new edition, nothing at all, in the way of contributions from adopters. At least the GPL requires vendors to contribute back their improvements, and this has worked really well in a number of cases.
Henning Brauer: Nobody ever gave us anything back. A plethora of vendors ship OpenSSH --commercial Unix vendors (basically all of them), all of the Linux distributors, and lots of hardware vendors (like HP in their switches)-- but none of them seem to care; none of them ever gave us anything back. All of them should very well know that quality software doesn't "just happen," but needs some funding. Yet, they don't help at all.
ORN: This is the first release that includes X.Org. Why did you choose to import it instead of XFree86 4.5.0?These people are worried by a slow switch to the GPL; so ironic too. Especially as I was once following a discussion on the
Matthieu Herrb: The primary reason is that the new revision 1.1 of the XFree86 license is less free than the old MIT license that had been used for years by XFree86. OpenBSD already avoided shipping the final XFree86 4.4 release that also uses the new license in 3.6. Then, as many other projects moved away from XFree86 because of the license, it became obvious that most new developments in the X window system now take place in X.Org. Having said that, projects like OpenBSD have to stay vigilant that X.Org doesn't turn into a Linux-only project (that would slowly slip to a GNU General Public License).
Xorg
IRC channels and one of the authors said
he had quite a bit of code to do an improvement someone was
requesting, but since the server was not GPL licensed, the
code was proprietary and could not be shared. It used to
be that the development of the X reference server code was
mostly funded by major corporates, so they chose the licence
that best served their embrace and extendcompetitive advantage stategies.
sabishape
and
dokde
.unstable, using the unofficial 3.4.0 packages, the KDE Konqueror browser grows to inordinate size (like more than 200MB) and under SUSE 9.2 the KDE 3.3.2 Konqueror stays at around 50MB.
malloc
-override mode
(with build option --enable-redirect-malloc
) and
then to set export GC_PRINT_STATS=1
, and then to
preload it with
export LD_PRELOAD=/usr/local/lib/libgc.so.1.0.2
)
and it is such good fun watching what it snitches on something
like Konqueror.sub read_vint { my $b = ord CORE::getc($_[0]->[0]); my $i = $b & 0x7F; for (my $s = 7 ; ($b & 0x80) != 0 ; $s += 7) { $b = ord CORE::getc $_[0]->[0]; $i |= ($b & 0x7F) << $s; } return $i; }brought me tears and screams because of its depth and daring, and never mind this other splendid example of Perl programming, whose style seems to be representative of much other code in Plucene:
sub doc { my ($self, $n) = @_; $self->{index}->seek($n * 8, 0); my $pos = $self->{index}->read_long; $self->{fields}->seek($pos, 0); my $doc = Plucene::Document->new(); for (1 .. $self->{fields}->read_vint) { my $fi = $self->{field_infos}->{bynumber}->[ $self->{fields}->read_vint ]; my $bits = $self->{fields}->read_byte; $doc->add( bless { name => $fi->name, string => $self->{fields}->read_string, is_stored => 1, is_indexed => $fi->is_indexed, is_tokenized => (($bits & 1) != 0) # No, really } => 'Plucene::Document::Field' ); } return $doc; }Watch and learn! And these apparently are the literal translations into Perl from Java code of equivalent magnificence.
Laptops...beware?The same article has interesting details about the various modes of journaling that Ext3 offers, and in particular that
Ext3 has a stellar reputation for being a rock-solid filesystem, so I was surprised to learn that quite a few laptop users were having filesystem corruption problems when they switched to ext3. [ ... ] had nothing to do with ext3 itself, but were being caused by certain laptop hard drives.
The write cache
[ ... ] Unfortunately, certain laptop hard drives now on the market have the dubious feature of ignoring any official ATA request to flush their write cache to disk. This isn't a wonderful design feature, although it has been allowed by the ATA spec up until recently [ ... ]
However, it gets worse. Some modern laptop hard drives have an even nastier habit of throwing away their write cache whenever the system is rebooted or suspended. Obviously, if a hard drive has both of these problems, it's going to regularly corrupt data, and there's nothing that Linux can do to prevent it from doing so.
data=journal
can be very fast in some special
case (probably reading from the journal as it is writing to
it). Also, about making it flush the buffer cache more
frequently prevents huge write storms.During the past year, more than 4,100 patches from Red Hat employees were integrated into the upstream 2.6 kernel. In contrast other companies boast that their offering contains the most patches on top of the community kernel.and
Upstream - doing all our development in an open community manner. We don't sit on our technology for competitive advantage, only to spring it on the world as late as possible.These statements are commendable, and reflect some of my own thoughts but one can make some points:
scratch my itchlogic.
:-(
.discoverythat it is hard to guarantee something has actually been written to disc. This has been well known for years at least to those reading the
comp.arch
newsgroup. Things also are
much subtler and more complex than apparent from this late
discovery.
The plan is to reduce the amount of memory that Gnome applications consume. Gnome is barely usable on a machine with 128 MB of RAM; contrast this with Windows XP, which is very snappy on such a configuration.Even more amusing is the question that comes next:
Why do you want to reduce memory consumption?to which some answers are given. Unfortunately none seems convincing to me; I reckon that there is a vanishingly small and largely powerless constituency for fixing the many and horrifying memory wastages in most GNU/Linux applications, so the answers are merely pious hopes.
scratch my itchprinciple, and many volunteers by now just have very large PCs, with at least 1GB of memory.
Looking at the top 25 contributors to the Linux kernel today, you'll discover that more than 90% of them are on the corporate payroll full-time for companies such as HP (HPQ), IBM, Intel (INTC), Novell (NOVL), Oracle, Red Hat (RHAT) and Veritas (VRTS), among many others.and obviously these big corporations are not limiting their highly paid employees with PCs having only 128MB RAM, and I would imagine that most of them have no interest whatsoever in wasting their expensive time minimizing memory consumption in the kernel or in applications. The employees themselves are now paid large enough salaries that buying more memory even for their personal system is simply no longer an issue for them.
I spent the last month halving the memory used by these applications
I spent the last year adding to this application these snazzy transparency effects and ten more cool features as you can see in this demo
it is fine by itself, and in any case what really matters is the demo, not actual use in a loaded system.
Hello world!program:
That simple program uses 73 shared libraries that allocate a total of 13Mb of non-shared static data.This can be alleviated in the following ways:
bitmap
font module (for PCF format bitmap
fonts) is loaded by default and this is unfortunate because it
has a misdesign in which it forces the DPI of fonts to be
either 75 or 100 only. Omitting it from the list of modules to
load is no good.
freetype
font
module (for PCF, TrueType and Type1 fonts and a few other
types too) is specified before bitmap
, it
registers itself for PCF fonts and seems to preempt the
bitmap
module, which seems an acceptable
workaround.freetype
font module, and the
type1
font module is not loaded. The
freetype
font module uses the
FreeType library
which seems to have a fairly good Type 1 rasterizer, one
that does some decent autohinting (a side effect I guess of
FreeType having to have an autohinter for TrueType fonts),
while the original type1
module does not, and
produces fairly crude low DPI bitmaps.
April 08, 2005Now, my external hard drive box also supports USB2, so I tried that. Bad news! It does not work at all with the
Pete Zaitcev: Thomas in a cage with Firewirehttp://thomas.apestaart.org/log/index.php?p=291
Yay. Thomas is about to find why Firewire is unsupported even on Fedora (let alone on RHEL).
But If someone asked me what Firewire needed, I would answer, "only a hacker with a brain". He may be able to pull it off, though I'm not too optimistic. Firewire is about as complex as USB and we all know how well that goes despite a sustained effort by Greg K-H, David-B, Stern and myself. My approach was to hide whenever Firewire came too close and wait for it to die in the marketplace (which, I suspect, is inevitable at this point).
usb-storage
driver, presumably because it uses
a chipset (ALi) that is designed to the MS USB driver
interface, not the official one. It works, very slowly, with
the slow device
ub
driver, but
this anyhow only supports up to 138GB drives, and my drive has
a 160GB capacity.mmap
efficiently.design patterns.
secret saucethat makes their work tastier and less fattening at the same time.
secret sauceones.
patternsthat seem actually design oriented they tend to be trivializations of simple databased design rules.
patterns: whatever they are, they name recurrent and topical practices, whether related to design or not, and this might sometimes improve communication with and between otherwise unskilled people; which may be of benefit given the industry tendency towards employing unskilled workers.
zeroconf
a nice little utility which is like a
DHCP
client, but without the server, in that it can
configure a network interface automagically
a bit like for IPv6, but (usually) in the
IPv4 169.254.0.0/16 range reserved for that.
zeroconf
package installs also
/etc/network/if-up.d/zeroconf-up
which is a script that runs the application every time an
interface is activated, whether or not I want it. Allegedly
autoconfiguration should always work, but there are cases
where I simply want to bring up an interface in a fully
passive way.
/etc/network/if-
X.d/zeroconf-up
directories and the scripts therein, and as usual the Debian
Way is to try to do things automagically and in ways to that
me feel rather shoddy.
zeroconf
(or
IPv4LL
is definitely a nice idea, having it started by default is not
nice. But this pales compared the the horror I feel when
updating a package containing a daemon starts the daemon even
if I have disabled its activation in the runlevel
configuration.