Re: [gentoo-user] VPN solution
I've had very good results with freeswan but I don't know if it works with dynamic IPs. On Fri, 2004-01-09 at 16:50, Andrew Gaffney wrote: I'm looking to set up a VPN between 2 Gentoo boxes, one on a DSL and the other on a T1. What is the easiest way to do this? I just got my DSL. I had a dial-up server setup on the T1 Gentoo box which allowed me access to the LAN. Now, I can't get access to the LAN without potentially opening up the firewall due to my dynamic IP.
Re: [gentoo-user] SLOOOW System -= solved =-
I had too many truetype fonts installed. On Thu December 11 2003 10:16 pm, Sterling Chavis wrote: I have a Toshiba P25 laptop. P4 3.0GHz HT Processor, 512 MB RAM, 60GB Hard Drive with Gentoo successfully running on it, but it seems extremely slow, and seems to have an excessive ammount of hard drive activity for each program I start, and gets a lot worse with each program I start, although I don't feel I run enough programs simultaneously to slow it down this much. Sometimes takes upwards of 20-30 seconds just to start KCalc. My hdparm settings stay successfully set as follows: /dev/hda: multcount= 16 (on) IO_support = 3 (32-bit w/sync) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead= 8 (on) geometry = 7296/255/63, sectors = 117210240, start = 0 Output of free: total used free sharedbuffers cached Mem:513708 507052 6656 0 11716 249132 -/+ buffers/cache: 246204 267504 Swap: 1004052 40184 963868 I've searched for several days, but being a total newbie I'm not even sure what to search or look for, although I've tried. What other things might I search for and check to improve performance? Could it be a memory management issue? I have my swap set to 1024MB. This is a fast laptop and Knoppix runs very fast and smooth on it, I think Gentoo should too but I probably missed something. I love Linux and what it stands for and I am very willing to go through the learning curve to make the switch. However, with programs loading this slowly it's just not productive enough to use for my business, but I DON'T want to have to go back to... well... that other crappy, bloated, restrictive OS. Thanks for any suggestions. Regards, Sterling -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SLOOOW System
Thanks for the suggestions everybody. I did something extremely stupid I think. Every time I re-compiled my kernel I would copy it to /boot without mounting it to /dev/hda1 first. Things seem to be running much smoother now that I have the right kernel on /dev/hda1. I can guarantee that this will never happen again. :) Thanks for all the help and I apologize if I wasted your time here. Sterling. On Fri December 12 2003 07:45 pm, Paul Varner wrote: On Fri, 2003-12-12 at 16:52, Sterling Chavis wrote: Thank you for your reply. The results of bonnie and piozone are below. The results from bonnie seem to vary quite alot. My dmesg output as well as my messages log can be found here: http://www.abacustechnology.net/files/drifter/ The big thing that jumps out at me is the following from dmesg: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PCI_IDE: unknown IDE controller on PCI bus 00 device f9, VID=8086, DID=24db PCI: Device 00:1f.1 not available because of resource collisions PCI_IDE: BIOS setup was incomplete. PCI_IDE: chipset revision 2 PCI_IDE: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x1880-0x1887, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0x1888-0x188f, BIOS settings: hdc:pio, hdd:pio The system doesn't know what kind of ide controller you have and isn't enabling dma for your ide drives. Additionally, the following error seems to be related. Dec 4 10:46:25 machine blk: queue c01c6e24, I/O limit 4095Mb (mask 0x) Dec 4 10:46:25 machine ide0: unexpected interrupt, status=0x58, count=1 A quick google search on unknown IDE controller on PCI bus 00 device f9, VID=8086, DID=24db and machine blk: queue I/O limit 4095Mb (mask 0x) Seemed to indicate turning off APIC support in the kernel or upgrading to a 2.5/2.6 kernel. Since you have a SMP system, in order to turn off APIC, you will need to pass noapic as a kernel parameter in your grub.conf or lilo.conf file. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SLOOOW System
Thank you for your reply. The results of bonnie and piozone are below. The results from bonnie seem to vary quite alot. My dmesg output as well as my messages log can be found here: http://www.abacustechnology.net/files/drifter/ === bonnie output (3 runs) === File './Bonnie.19733', size: 104857600 Writing with putc()...done Rewriting...done Writing intelligently...done Reading with getc()...done Reading intelligently...done Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done... ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- 1st run--- MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 100 16271 63.3 49566 26.4 8377 2.2 31398 99.8 1626894 103.3 86850.8 173.7 2nd run--- MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 100 7670 30.3 39322 20.7 6733 2.0 24982 78.2 39397 4.8 779.0 1.7 3rd run--- MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 100 23954 94.9 34877 18.7 4812 1.4 31179 99.9 1765091 94.8 91795.8 183.6 --- === piozone output === [PIOZONE, version 1.0 - Copyright (c) 2002 Peter Eriksson [EMAIL PROTECTED]] Linear read transfer rates: 22.6 MB/s at offset 0 GB using 64 KiB reads 22.9 MB/s at offset 633437444 GB using 64 KiB reads 23.2 MB/s at offset 1266874888 GB using 64 KiB reads 23.0 MB/s at offset 633437443 GB using 64 KiB reads 23.3 MB/s at offset 1266874887 GB using 64 KiB reads 23.3 MB/s at offset 633437442 GB using 64 KiB reads 22.5 MB/s at offset 1266874886 GB using 64 KiB reads 23.0 MB/s at offset 633437441 GB using 64 KiB reads 23.3 MB/s at offset 1266874885 GB using 64 KiB reads 23.3 MB/s at offset 633437440 GB using 64 KiB reads 23.0 MB/s at offset 1266874884 GB using 64 KiB reads 22.8 MB/s at offset 633437438 GB using 64 KiB reads 22.8 MB/s at offset 1266874883 GB using 64 KiB reads 23.1 MB/s at offset 633437437 GB using 64 KiB reads 23.1 MB/s at offset 1266874882 GB using 64 KiB reads 23.1 MB/s at offset 633437436 GB using 64 KiB reads --- Thanks, Sterling On Fri December 12 2003 02:59 pm, Elton Algera wrote: Hi, In app-benchmarks there are some harddisk-benchmark tools, like piozone and bonnie. Perhaps you could run some of these and post the results here. Have you checked the dmesg and the syslogs after startup for any strange messages? Elton -- [EMAIL PROTECTED] mailing list
[gentoo-user] SLOOOW System
I have a Toshiba P25 laptop. P4 3.0GHz HT Processor, 512 MB RAM, 60GB Hard Drive with Gentoo successfully running on it, but it seems extremely slow, and seems to have an excessive ammount of hard drive activity for each program I start, and gets a lot worse with each program I start, although I don't feel I run enough programs simultaneously to slow it down this much. Sometimes takes upwards of 20-30 seconds just to start KCalc. My hdparm settings stay successfully set as follows: /dev/hda: multcount= 16 (on) IO_support = 3 (32-bit w/sync) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead= 8 (on) geometry = 7296/255/63, sectors = 117210240, start = 0 Output of free: total used free sharedbuffers cached Mem:513708 507052 6656 0 11716 249132 -/+ buffers/cache: 246204 267504 Swap: 1004052 40184 963868 I've searched for several days, but being a total newbie I'm not even sure what to search or look for, although I've tried. What other things might I search for and check to improve performance? Could it be a memory management issue? I have my swap set to 1024MB. This is a fast laptop and Knoppix runs very fast and smooth on it, I think Gentoo should too but I probably missed something. I love Linux and what it stands for and I am very willing to go through the learning curve to make the switch. However, with programs loading this slowly it's just not productive enough to use for my business, but I DON'T want to have to go back to... well... that other crappy, bloated, restrictive OS. Thanks for any suggestions. Regards, Sterling -- [EMAIL PROTECTED] mailing list