|
General Hardware General hardware related questions. |
|
Thread Tools | Display Modes |
|
|||
Quote:
Circular log files are a patch (http://software.wwwi.com/syslogd/) for standard syslogd by which it supports log files which have a fixed size and 'turn over' (start from the beginning) if the end is reached. I find this very useful for use placing logfiles on small ram-disk. The drawback is that these files can only be viewed by a special program ('clog') which understands the file format. |
|
||||
@JMJ_coder
Yes this is generally a good idea, but considering limited life of flash you have to remember about these things: - disable SWAP - mount /tmp in RAM - mount /var/tam in RAM - disable all useless logging in /var/log (by config or by links to /dev/null if you are lazy) - or even mount /var/log in RAM Quote:
Single drive may not be as fast as harddrive, but RAID0 of 2-4 or even RAID5 of them would give you constant 80MB/s write + 120MB/s read with about 1ms RAT which is comparable to today's SSD's. It would be very easy do do such thing, 1 even slow CF for / + software RAID0/5 in 4 fast CF's. You may wath some performance tests of CF's here: http://www.xbitlabs.com/articles/mem...h-roundup.html http://www.xbitlabs.com/articles/mem...oundup_11.html
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
Depending upon the usage, it may be in order to redirect some logs to a remote syslogd server. See the syslogd(8) manpage for details.
|
|
|||
FreeBSD 6 and 7 automatically mount /tmp and /var as a ram-disks if they are not writeable, e.g. if you mount '/' read-only and have not placed them on separate file systems. For /var even the necessary directories are created automatically. However, with the default options this will hide the 'real' /var/db/pkg and you will not see your installed packages.
|
|
||||
I just use a 2GB CF for the / kernel and /bin stuff, which gets read often but not written that much often... the rest /var/log, /usr and /home on a real Raptor 10'000 RPM hard drive, it has been working fine for me.
__________________
She sells C shells by the seashore. |
|
|||
Hello,
I have finally gotten around to testing this setup. I must say that I am disappointed verily! The first issue is that it wouldn't install from the CD. I could the CD to boot and run the installation, but when it went to copy the packages, it panicked. I resolved this by installing over http (the first time I did this - it was fun! ). I think the issue was that the CD and the card were on the same IDE cable - and I read that that could cause some issues. Then, unpacking pkgsrc took over 7 hours (that's when I went to sleep for the night). When I left it, it was only up to misc. Compiling took a very long time - it reminded me of when I was using the GENERIC kernel on my dual-core system. See here. It is also very sluggish when trying to multi-task. This may be a little unfair. The card I used was an Ultra II - 9MB/s write, 10MB/s read. I also don't think it supports UDMA. I used it because I got it on the cheap during a sale. I am thinking of giving it another shot with an Extreme III card. The new ones are rated at 30MB/s (I hope this isn't just in the software for Windows ). Does anyone know if the Extreme III from SanDisk is capable of UDMA (anything special to get it going - or is it just there), and if it makes use of SLC?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
Tags |
cf card, compact-flash, hardware |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMD64 - Hard Drive Partitioning | Turquoise88 | General software and network | 8 | 11th September 2009 05:58 AM |
Formatting Hard Disk Drive to UFS in OS X 10.5 | Turquoise88 | Other BSD and UNIX/UNIX-like | 1 | 7th March 2009 09:57 PM |
Did I fry my hard drive? | JMJ_coder | General Hardware | 7 | 23rd December 2008 10:38 PM |
FreeBSD 7.0 hard drive problems. | Errinok | FreeBSD Installation and Upgrading | 8 | 13th June 2008 03:24 PM |
Encrypting hard drive? | ViperChief | FreeBSD Installation and Upgrading | 5 | 31st May 2008 03:42 PM |