Re: Seconded: 2.2.15 slow as molasses

From: Jeff V. Merkey (jmerkey@timpanogas.com)
Date: Sat May 13 2000 - 13:57:58 EDT

  • Next message: khromy: "iptables"

    I am not seeing a slowdown between 2.2.14 and 2.2.15 when I use asynch
    I/O directly with my own LRU, only when I am going through the buffer
    cache -- o something there may have changed (or the way something
    interacts with it). Linus had fixed a serialization problem in the
    buffer cache last week if memory serves correct. I am wondering if
    perhaps this change should be back-reved to the 2.2.X tree or if the two
    may be related in some way?

    :-)

    Jeff

    Jeff Garzik wrote:
    >
    > Running 2.2.15 here for about a week, and it is definitely slower than
    > 2.2.14 and older kernels when accessing the same disk.
    >
    > In my own case, doing a CVS import (reading from local drive) and
    > Netscape Mail (on an NFS-mounted home dir) causes a very noticeable
    > slowdown.
    >
    > In 2.2.14, I could perform an import while reading mail with only the
    > occasional delay. Now, a CVS import causes massive delays in screen
    > updates in Netscape Mail, often one-three seconds per message-view.
    >
    > The CVS process is always busy in disk wait during the import (this is
    > normal), so it looks like other processes are being starved of I/O,
    > regardless of which partition is being accessed. Also regardless of
    > read/write patterns, as the CVS process is reading from a local drive,
    > and Netscape Mail is a combination of reading and writing (both are
    > slow) to an NFS drive.
    >
    > "renice +19 <cvs import process>" helps the situation a little, but not
    > very much.
    >
    > What diagnostic information may I provide, which will give clues to help
    > diagnose this problem? .config for 2.2.15 is attached. Hardware is
    > Dual P-II w/ a single 10G IDE UDMA drive, and rtl8139 network hardware.
    >
    > Jeff
    >
    > --
    > Jeff Garzik | Liberty is always dangerous, but
    > Building 1024 | it is the safest thing we have.
    > MandrakeSoft, Inc. | -- Harry Emerson Fosdick
    >
    > ------------------------------------------------------------------------
    > #
    > # Automatically generated make config: don't edit
    > #
    >
    > #
    > # Code maturity level options
    > #
    > CONFIG_EXPERIMENTAL=y
    >
    > #
    > # Processor type and features
    > #
    > # CONFIG_M386 is not set
    > # CONFIG_M486 is not set
    > # CONFIG_M586 is not set
    > # CONFIG_M586TSC is not set
    > CONFIG_M686=y
    > CONFIG_X86_WP_WORKS_OK=y
    > CONFIG_X86_INVLPG=y
    > CONFIG_X86_BSWAP=y
    > CONFIG_X86_POPAD_OK=y
    > CONFIG_X86_TSC=y
    > CONFIG_X86_GOOD_APIC=y
    > CONFIG_1GB=y
    > # CONFIG_2GB is not set
    > # CONFIG_MATH_EMULATION is not set
    > CONFIG_MTRR=y
    > CONFIG_SMP=y
    >
    > #
    > # Loadable module support
    > #
    > CONFIG_MODULES=y
    > # CONFIG_MODVERSIONS is not set
    > CONFIG_KMOD=y
    >
    > #
    > # General setup
    > #
    > CONFIG_NET=y
    > CONFIG_PCI=y
    > # CONFIG_PCI_GOBIOS is not set
    > # CONFIG_PCI_GODIRECT is not set
    > CONFIG_PCI_GOANY=y
    > CONFIG_PCI_BIOS=y
    > CONFIG_PCI_DIRECT=y
    > CONFIG_PCI_QUIRKS=y
    > # CONFIG_PCI_OPTIMIZE is not set
    > CONFIG_PCI_OLD_PROC=y
    > # CONFIG_MCA is not set
    > # CONFIG_VISWS is not set
    > CONFIG_X86_IO_APIC=y
    > CONFIG_X86_LOCAL_APIC=y
    > CONFIG_SYSVIPC=y
    > # CONFIG_BSD_PROCESS_ACCT is not set
    > CONFIG_SYSCTL=y
    > CONFIG_BINFMT_AOUT=m
    > CONFIG_BINFMT_ELF=y
    > CONFIG_BINFMT_MISC=m
    > # CONFIG_BINFMT_JAVA is not set
    > CONFIG_PARPORT=m
    > CONFIG_PARPORT_PC=m
    > # CONFIG_PARPORT_OTHER is not set
    > # CONFIG_APM is not set
    >
    > #
    > # Plug and Play support
    > #
    > CONFIG_PNP=y
    > CONFIG_PNP_PARPORT=m
    >
    > #
    > # Block devices
    > #
    > CONFIG_BLK_DEV_FD=m
    > CONFIG_BLK_DEV_IDE=y
    >
    > #
    > # Please see Documentation/ide.txt for help/info on IDE drives
    > #
    > # CONFIG_BLK_DEV_HD_IDE is not set
    > CONFIG_BLK_DEV_IDEDISK=y
    > CONFIG_BLK_DEV_IDECD=m
    > # CONFIG_BLK_DEV_IDETAPE is not set
    > # CONFIG_BLK_DEV_IDEFLOPPY is not set
    > # CONFIG_BLK_DEV_IDESCSI is not set
    > # CONFIG_BLK_DEV_CMD640 is not set
    > # CONFIG_BLK_DEV_RZ1000 is not set
    > CONFIG_BLK_DEV_IDEPCI=y
    > CONFIG_BLK_DEV_IDEDMA=y
    > # CONFIG_BLK_DEV_OFFBOARD is not set
    > CONFIG_IDEDMA_AUTO=y
    > # CONFIG_BLK_DEV_OPTI621 is not set
    > # CONFIG_BLK_DEV_TRM290 is not set
    > # CONFIG_BLK_DEV_NS87415 is not set
    > # CONFIG_BLK_DEV_VIA82C586 is not set
    > # CONFIG_BLK_DEV_CMD646 is not set
    > # CONFIG_BLK_DEV_CS5530 is not set
    > # CONFIG_IDE_CHIPSETS is not set
    >
    > #
    > # Additional Block Devices
    > #
    > CONFIG_BLK_DEV_LOOP=m
    > # CONFIG_BLK_DEV_NBD is not set
    > # CONFIG_BLK_DEV_MD is not set
    > CONFIG_BLK_DEV_RAM=m
    > # CONFIG_BLK_DEV_XD is not set
    > # CONFIG_BLK_DEV_DAC960 is not set
    > CONFIG_PARIDE_PARPORT=m
    > # CONFIG_PARIDE is not set
    > # CONFIG_BLK_CPQ_DA is not set
    > # CONFIG_BLK_DEV_HD is not set
    >
    > #
    > # Networking options
    > #
    > CONFIG_PACKET=m
    > # CONFIG_NETLINK is not set
    > # CONFIG_FIREWALL is not set
    > # CONFIG_FILTER is not set
    > CONFIG_UNIX=y
    > CONFIG_INET=y
    > CONFIG_IP_MULTICAST=y
    > # CONFIG_IP_ADVANCED_ROUTER is not set
    > # CONFIG_IP_PNP is not set
    > # CONFIG_IP_ROUTER is not set
    > # CONFIG_NET_IPIP is not set
    > # CONFIG_NET_IPGRE is not set
    > # CONFIG_IP_MROUTE is not set
    > CONFIG_IP_ALIAS=y
    > # CONFIG_SYN_COOKIES is not set
    >
    > #
    > # (it is safe to leave these untouched)
    > #
    > # CONFIG_INET_RARP is not set
    > CONFIG_SKB_LARGE=y
    > # CONFIG_IPV6 is not set
    >
    > #
    > #
    > #
    > # CONFIG_IPX is not set
    > # CONFIG_ATALK is not set
    > # CONFIG_X25 is not set
    > # CONFIG_LAPB is not set
    > # CONFIG_BRIDGE is not set
    > # CONFIG_LLC is not set
    > # CONFIG_ECONET is not set
    > # CONFIG_WAN_ROUTER is not set
    > # CONFIG_NET_FASTROUTE is not set
    > # CONFIG_NET_HW_FLOWCONTROL is not set
    > # CONFIG_CPU_IS_SLOW is not set
    >
    > #
    > # QoS and/or fair queueing
    > #
    > # CONFIG_NET_SCHED is not set
    >
    > #
    > # Telephony Support
    > #
    > # CONFIG_PHONE is not set
    > # CONFIG_PHONE_IXJ is not set
    >
    > #
    > # SCSI support
    > #
    > # CONFIG_SCSI is not set
    >
    > #
    > # I2O device support
    > #
    > # CONFIG_I2O is not set
    > # CONFIG_I2O_PCI is not set
    > # CONFIG_I2O_BLOCK is not set
    > # CONFIG_I2O_SCSI is not set
    >
    > #
    > # Network device support
    > #
    > CONFIG_NETDEVICES=y
    >
    > #
    > # ARCnet devices
    > #
    > # CONFIG_ARCNET is not set
    > # CONFIG_DUMMY is not set
    > # CONFIG_BONDING is not set
    > # CONFIG_EQUALIZER is not set
    > # CONFIG_NET_SB1000 is not set
    >
    > #
    > # Ethernet (10 or 100Mbit)
    > #
    > CONFIG_NET_ETHERNET=y
    > # CONFIG_NET_VENDOR_3COM is not set
    > # CONFIG_LANCE is not set
    > # CONFIG_NET_VENDOR_SMC is not set
    > # CONFIG_NET_VENDOR_RACAL is not set
    > CONFIG_RTL8139=y
    > # CONFIG_NET_ISA is not set
    > # CONFIG_NET_EISA is not set
    > # CONFIG_NET_POCKET is not set
    >
    > #
    > # Ethernet (1000 Mbit)
    > #
    > # CONFIG_ACENIC is not set
    > # CONFIG_YELLOWFIN is not set
    > # CONFIG_SK98LIN is not set
    > # CONFIG_FDDI is not set
    > # CONFIG_HIPPI is not set
    > # CONFIG_PLIP is not set
    > # CONFIG_PPP is not set
    > # CONFIG_SLIP is not set
    > # CONFIG_NET_RADIO is not set
    >
    > #
    > # Token ring devices
    > #
    > # CONFIG_TR is not set
    > # CONFIG_NET_FC is not set
    > # CONFIG_RCPCI is not set
    > # CONFIG_SHAPER is not set
    >
    > #
    > # Wan interfaces
    > #
    > # CONFIG_HOSTESS_SV11 is not set
    > # CONFIG_COSA is not set
    > # CONFIG_SEALEVEL_4021 is not set
    > # CONFIG_LANMEDIA is not set
    > # CONFIG_COMX is not set
    > # CONFIG_DLCI is not set
    > # CONFIG_SBNI is not set
    >
    > #
    > # Amateur Radio support
    > #
    > # CONFIG_HAMRADIO is not set
    >
    > #
    > # IrDA (infrared) support
    > #
    > # CONFIG_IRDA is not set
    >
    > #
    > # ISDN subsystem
    > #
    > # CONFIG_ISDN is not set
    >
    > #
    > # Old CD-ROM drivers (not SCSI, not IDE)
    > #
    > # CONFIG_CD_NO_IDESCSI is not set
    >
    > #
    > # Character devices
    > #
    > CONFIG_VT=y
    > CONFIG_VT_CONSOLE=y
    > CONFIG_SERIAL=y
    > CONFIG_SERIAL_CONSOLE=y
    > CONFIG_SERIAL_EXTENDED=y
    > # CONFIG_SERIAL_MANY_PORTS is not set
    > CONFIG_SERIAL_SHARE_IRQ=y
    > # CONFIG_SERIAL_DETECT_IRQ is not set
    > # CONFIG_SERIAL_MULTIPORT is not set
    > # CONFIG_HUB6 is not set
    > # CONFIG_SERIAL_NONSTANDARD is not set
    > CONFIG_UNIX98_PTYS=y
    > CONFIG_UNIX98_PTY_COUNT=256
    > CONFIG_PRINTER=m
    > CONFIG_PRINTER_READBACK=y
    > CONFIG_MOUSE=y
    >
    > #
    > # Mice
    > #
    > # CONFIG_ATIXL_BUSMOUSE is not set
    > # CONFIG_BUSMOUSE is not set
    > # CONFIG_MS_BUSMOUSE is not set
    > CONFIG_PSMOUSE=y
    > # CONFIG_82C710_MOUSE is not set
    > # CONFIG_PC110_PAD is not set
    >
    > #
    > # Joysticks
    > #
    > # CONFIG_JOYSTICK is not set
    > # CONFIG_QIC02_TAPE is not set
    > # CONFIG_WATCHDOG is not set
    > CONFIG_NVRAM=m
    > CONFIG_RTC=y
    >
    > #
    > # Video For Linux
    > #
    > CONFIG_VIDEO_DEV=m
    > # CONFIG_RADIO_RTRACK is not set
    > # CONFIG_RADIO_RTRACK2 is not set
    > # CONFIG_RADIO_AZTECH is not set
    > # CONFIG_RADIO_CADET is not set
    > # CONFIG_RADIO_MIROPCM20 is not set
    > # CONFIG_RADIO_GEMTEK is not set
    > # CONFIG_RADIO_TRUST is not set
    > # CONFIG_VIDEO_BT848 is not set
    > # CONFIG_VIDEO_BWQCAM is not set
    > # CONFIG_VIDEO_CQCAM is not set
    > # CONFIG_VIDEO_CPIA is not set
    > # CONFIG_VIDEO_PMS is not set
    > # CONFIG_VIDEO_SAA5249 is not set
    > # CONFIG_RADIO_SF16FMI is not set
    > # CONFIG_RADIO_TYPHOON is not set
    > # CONFIG_RADIO_ZOLTRIX is not set
    > # CONFIG_VIDEO_ZORAN is not set
    > # CONFIG_VIDEO_BUZ is not set
    > # CONFIG_DTLK is not set
    >
    > #
    > # Ftape, the floppy tape device driver
    > #
    > # CONFIG_FTAPE is not set
    >
    > #
    > # Filesystems
    > #
    > # CONFIG_QUOTA is not set
    > CONFIG_AUTOFS_FS=y
    > # CONFIG_ADFS_FS is not set
    > # CONFIG_AFFS_FS is not set
    > # CONFIG_HFS_FS is not set
    > CONFIG_FAT_FS=m
    > CONFIG_MSDOS_FS=m
    > # CONFIG_UMSDOS_FS is not set
    > CONFIG_VFAT_FS=m
    > CONFIG_ISO9660_FS=m
    > CONFIG_JOLIET=y
    > # CONFIG_MINIX_FS is not set
    > # CONFIG_NTFS_FS is not set
    > # CONFIG_HPFS_FS is not set
    > CONFIG_PROC_FS=y
    > CONFIG_DEVPTS_FS=y
    > # CONFIG_QNX4FS_FS is not set
    > # CONFIG_ROMFS_FS is not set
    > CONFIG_EXT2_FS=y
    > # CONFIG_SYSV_FS is not set
    > # CONFIG_UFS_FS is not set
    > # CONFIG_EFS_FS is not set
    >
    > #
    > # Network File Systems
    > #
    > # CONFIG_CODA_FS is not set
    > CONFIG_NFS_FS=y
    > CONFIG_NFSD=y
    > # CONFIG_NFSD_SUN is not set
    > CONFIG_SUNRPC=y
    > CONFIG_LOCKD=y
    > CONFIG_SMB_FS=m
    > # CONFIG_NCP_FS is not set
    >
    > #
    > # Partition Types
    > #
    > # CONFIG_BSD_DISKLABEL is not set
    > # CONFIG_MAC_PARTITION is not set
    > # CONFIG_SMD_DISKLABEL is not set
    > # CONFIG_SOLARIS_X86_PARTITION is not set
    > # CONFIG_UNIXWARE_DISKLABEL is not set
    > CONFIG_NLS=y
    >
    > #
    > # Native Language Support
    > #
    > CONFIG_NLS_CODEPAGE_437=m
    > # CONFIG_NLS_CODEPAGE_737 is not set
    > # CONFIG_NLS_CODEPAGE_775 is not set
    > # CONFIG_NLS_CODEPAGE_850 is not set
    > # CONFIG_NLS_CODEPAGE_852 is not set
    > # CONFIG_NLS_CODEPAGE_855 is not set
    > # CONFIG_NLS_CODEPAGE_857 is not set
    > # CONFIG_NLS_CODEPAGE_860 is not set
    > # CONFIG_NLS_CODEPAGE_861 is not set
    > # CONFIG_NLS_CODEPAGE_862 is not set
    > # CONFIG_NLS_CODEPAGE_863 is not set
    > # CONFIG_NLS_CODEPAGE_864 is not set
    > # CONFIG_NLS_CODEPAGE_865 is not set
    > # CONFIG_NLS_CODEPAGE_866 is not set
    > # CONFIG_NLS_CODEPAGE_869 is not set
    > # CONFIG_NLS_CODEPAGE_874 is not set
    > CONFIG_NLS_ISO8859_1=m
    > # CONFIG_NLS_ISO8859_2 is not set
    > # CONFIG_NLS_ISO8859_3 is not set
    > # CONFIG_NLS_ISO8859_4 is not set
    > # CONFIG_NLS_ISO8859_5 is not set
    > # CONFIG_NLS_ISO8859_6 is not set
    > # CONFIG_NLS_ISO8859_7 is not set
    > # CONFIG_NLS_ISO8859_8 is not set
    > # CONFIG_NLS_ISO8859_9 is not set
    > # CONFIG_NLS_ISO8859_14 is not set
    > # CONFIG_NLS_ISO8859_15 is not set
    > # CONFIG_NLS_KOI8_R is not set
    >
    > #
    > # Console drivers
    > #
    > CONFIG_VGA_CONSOLE=y
    > # CONFIG_VIDEO_SELECT is not set
    > # CONFIG_MDA_CONSOLE is not set
    > # CONFIG_FB is not set
    >
    > #
    > # Sound
    > #
    > CONFIG_SOUND=m
    > # CONFIG_SOUND_CMPCI is not set
    > # CONFIG_SOUND_ES1370 is not set
    > # CONFIG_SOUND_ES1371 is not set
    > # CONFIG_SOUND_MAESTRO is not set
    > # CONFIG_SOUND_ESSSOLO1 is not set
    > # CONFIG_SOUND_SONICVIBES is not set
    > # CONFIG_SOUND_MSNDCLAS is not set
    > # CONFIG_SOUND_MSNDPIN is not set
    > # CONFIG_SOUND_OSS is not set
    >
    > #
    > # Kernel hacking
    > #
    > CONFIG_MAGIC_SYSRQ=y

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat May 13 2000 - 14:20:00 EDT