PerfMon reporting dramatic disk access time increase on Oracle startup

Hi,
My oracle 10g (10.2.0.4) database is hosted on a windows 2003 server.
The datafiles are stored on a RAID1 disk array, on a dedicated partition : currently 30 gigs free out of 180, wich should not be a concern unless i'm wrong, because the datafiles were created as 10 Go files with no autogrowth. I add a new datafile whenever i need more room for my tables (alerts when 80% used).
Since 2 days i experience a dramatic performance loss :
The EM console reports nothing special (no alarms related to storage) apart from the need for more paginated memory.
I issue a reorg when the segmentation advisor suggests it.
My optimizer statistics are calculated by the default scheduled job.
The weird thing I noticed is that as soon as I start the database, there's a huge increase in disk activity even though no query at all is submitted to the database.
PerfMon reports Current Disk Queue Length > 1000 and disk access time > 3000 ms
CPU is 2% activity on the 4-cpus server.
I have plenty of spare memory (currently 3 Go used out of 16).
This is only a dev server for ETL processes, it has very few concurrent connections.
Any suggestions welcome.
AWR report is available here
http://min.us/mqnXQhd5Z
Edited by: user10799939 on 22 mars 2012 09:30

Cache Sizes
~~~~~~~~~~~                       Begin        End
               Buffer Cache:     1,296M     1,296M  Std Block Size:         8K
           Shared Pool Size:       160M       160M      Log Buffer:    14,364K
Load Profile
~~~~~~~~~~~~                            Per Second       Per Transaction
                  Redo size:            460,955.72 ;         2,477,358.63
              Logical reads:              3,392.16 ;            18,230.80
              Block changes:              6,451.93 ;            34,675.22
             Physical reads:                  2.92 ;                15.67
            Physical writes:                394.52 ;             2,120.28
                 User calls:                  1.69 ;                 9.08
                     Parses:                  3.31 ;                17.81
                Hard parses:                  0.17 ;                 0.90
                      Sorts:                  1.32 ;                 7.09
                     Logons:                  0.06 ;                 0.31
                   Executes:                  7.01 ;                37.68
               Transactions:                  0.19
  % Blocks changed per Read:  190.20 ;   Recursive Call %:    96.23
Rollback per transaction %:    0.30 ;      Rows per Sort:    14.41
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            Buffer Nowait %:   99.98 ;      Redo NoWait %:   99.86
            Buffer  Hit   %:   99.92 ;   In-memory Sort %:  100.00
            Library Hit   %:   96.30 ;       Soft Parse %:   94.96
         Execute to Parse %:   52.74 ;        Latch Hit %:   99.07
Parse CPU to Parse Elapsd %:    0.35 ;    % Non-Parse CPU:   99.30
Shared Pool Statistics        Begin    End
             Memory Usage %:   75.48 ;  75.51
    % SQL with executions>1:   79.92 ;  85.03
  % Memory for SQL w/exec>1:   77.07 ;  70.09
Top 5 Timed Events                                         Avg %Total
~~~~~~~~~~~~~~~~~~                                        wait   Call
Event                                 Waits    Time (s)   (ms)   Time Wait Class
db file sequential read               9,052      17,688   1954   51.3 ;  User I/O
log file switch (checkpoint in        5,303       4,649    877   13.5 Configurat
log file switch completion            4,245       4,023    948   11.7 Configurat
wait for a undo record               32,393       3,531    109   10.3 ;     Other
db file parallel write               18,771       3,437    183   10.0 System I/O Havent seen this much wait on average. For example 877ms for "log file switch" is over threshold. And other wait events too..
Time Model Statistics                DB/Inst: MDMPRJ/MDMPRJ  Snaps: 2840-2841
-> Total time in database user-calls (DB Time): 34446.5s
-> Statistics including the word "background" measure background process
   time, and so do not contribute to the DB time statistic
-> Ordered by % or DB time desc, Statistic name
Statistic Name                                       Time (s) % of DB Time
sql execute elapsed time                              4,008.5 ;        11.6
parse time elapsed                                      352.9 ;         1.0
hard parse elapsed time                                 352.7 ;         1.0
PL/SQL compilation elapsed time                         120.1 ;          .3
DB CPU                                                   61.8 ;          .2
failed parse elapsed time                                21.3 ;          .1
PL/SQL execution elapsed time                             8.0 ;          .0
connection management call elapsed time                   0.0 ;          .0
hard parse (sharing criteria) elapsed time                0.0 ;          .0
repeated bind elapsed time                                0.0 ;          .0
hard parse (bind mismatch) elapsed time                   0.0 ;          .0
DB time                                              34,446.5 ;         N/A
background elapsed time                              14,889.7 ;         N/A
background cpu time                                      39.0 ;         N/A
Wait Class                            DB/Inst: MDMPRJ/MDMPRJ  Snaps: 2840-2841
-> s  - second
-> cs - centisecond -     100th of a second
-> ms - millisecond -    1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc
                                                                  Avg
                                       %Time       Total Wait    wait     Waits
Wait Class                      Waits  -outs         Time (s)    (ms)      /txn
User I/O                       10,515     .1           17,785    1691      15.8
Configuration                  10,186   79.5 ;           8,865     870      15.3
System I/O                     27,619     .0            8,774     318      41.6
Other                          57,768   98.3 ;           6,915     120      87.0
Commit                          2,634   88.6 ;           2,481     942       4.0
Concurrency                     2,847   75.4 ;           2,240     787       4.3
Application                       219    2.3 ;              23     105       0.3
Network                         4,790     .0                0       0       7.2
          ------------------------------------------------------------- again seen, there is very high wait on User IO
Wait Events                          DB/Inst: MDMPRJ/MDMPRJ  Snaps: 2840-2841
-> s  - second
-> cs - centisecond -     100th of a second
-> ms - millisecond -    1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
                                                                   Avg
                                             %Time  Total Wait    wait     Waits
Event                                 Waits  -outs    Time (s)    (ms)      /txn
db file sequential read               9,052     .0      17,688    1954      13.6
log file switch (checkpoint           5,303   78.0 ;      4,649     877       8.0
log file switch completion            4,245   89.2 ;      4,023     948       6.4
wait for a undo record               32,393   99.8 ;      3,531     109      48.8
db file parallel write               18,771     .0       3,437     183      28.3
wait for stopper event to be         24,203   99.8 ;      2,634     109      36.5
log file sync                         2,634   88.6 ;      2,481     942       4.0
control file sequential read          7,356     .0       2,431     330      11.1
buffer busy waits                     2,513   83.1 ;      2,173     865       3.8
log file parallel write                 520     .0       1,566    3012       0.8
control file parallel write             840     .0       1,334    1588       1.3
rdbms ipc reply                         172   91.3 ;        330    1916       0.3
enq: CF - contention                    309   23.0 ;        268     867       0.5
log buffer space                        638   28.5 ;        192     301       1.0
enq: PS - contention                     52   23.1 ;         71    1362       0.1
db file scattered read                  113     .0          67     590       0.2
os thread startup                        76   77.6 ;         63     834       0.1
reliable message                         57   78.9 ;         50     878       0.1
enq: RO - fast object reuse              22   22.7 ;         23    1038       0.0
latch free                              537     .0          16      30       0.8
Streams AQ: qmn coordinator               3  100.0 ;         15    5005       0.0 Overstepping
Background Wait Events               DB/Inst: MDMPRJ/MDMPRJ  Snaps: 2840-2841
-> ordered by wait time desc, waits desc (idle events last)
                                                                   Avg
                                             %Time  Total Wait    wait     Waits
Event                                 Waits  -outs    Time (s)    (ms)      /txn
db file parallel write               18,772     .0       3,437     183      28.3
events in waitclass Other            24,367   99.5 ;      3,010     124      36.7
control file sequential read          6,654     .0       2,333     351      10.0
log file parallel write                 520     .0       1,566    3012       0.8
control file parallel write             840     .0       1,334    1588       1.3
buffer busy waits                       899   94.2 ;        884     984       1.4
log file switch (checkpoint             206   82.0 ;        185     898       0.3
os thread startup                        76   77.6 ;         63     834       0.1
log file switch completion               46   93.5 ;         45     982       0.1
log buffer space                        158   31.0 ;         12      77       0.2
db file sequential read                  62     .0           7     111       0.1
db file scattered read                   20     .0           6     318       0.0
direct path read                        660     .0           5       7       1.0
log file sequential read                 66     .0           4      65       0.1
log file single write                    66     .0           1      16       0.1
enq: RO - fast object reuse               2     .0           0      38       0.0
latch: cache buffers chains               3     .0           0       6       0.0
direct path write                       660     .0          -5      -8       1.0
rdbms ipc message                     9,052   87.5 ;     21,399    2364      13.6
pmon timer                            1,318   90.4 ;      3,562    2703       2.0
Streams AQ: qmn coordinator             633   97.6 ;      3,546    5602       1.0
Streams AQ: waiting for time             77   61.0 ;      3,449   44795       0.1
PX Deq: Join ACK                         21     .0           0       0       0.0 Again overshooting
Tablespace IO Stats                  DB/Inst: MDMPRJ/MDMPRJ  Snaps: 2840-2841
-> ordered by IOs (Reads + Writes) desc
Tablespace
                 Av      Av     Av                       Av     Buffer Av Buf
         Reads Reads/s Rd(ms) Blks/Rd       Writes Writes/s      Waits Wt(ms)
UNDOTBS1
           914       0 ######     1.0 ;   1,368,515      383      2,534  863.2
MDMREF_INDICES
         6,918       2 ######     1.0 ;      11,086        3          0    0.0
SYSAUX
           626       0 ######     1.1 ;       1,804        1          0    0.0
SYSTEM
           850       0 ######     1.7 ;         296        0          0    0.0
MDMREF_DATA
           293       0  712.3 ;    1.0 ;         274        0          0    0.0
MDMPRJ_ODS
           198       0   72.1 ;    1.0 ;         198        0          0    0.0
FEU_VERT
            33       0   61.5 ;    1.0 ;          33        0          0    0.0
USERS
            33       0   31.5 ;    1.0 ;          33        0          0    0.0
          ------------------------------------------------------------- Now have a serious look at it. Av Rd(ms). Now for some tablespace value cannot event fit in window thats why its showing ##
According to oracle recommendation Av Rd(ms) shouldn't be greater then 20, if its goes over 20 then its considered to be an issue with IO subsystem. But as its seen that in your case its overshooting.
Now the question from my side
Have done any configuration changes?
I would suggest you to revert these changes asap and contact storage admin guys...
Hope this helps

Similar Messages

  • Firefox is using large amounts of CPU time and disk access, and I need to know how to shut down most of this so I can actually use the browser.

    Firefox is a very busy piece of software. It's using large amounts of CPU time and disk access. It puts my usage at low priority, so I have to wait for some time to be able to use my pointer or keyboard. I don't know what it uses all that CPU and disk access time for, but it's of no use to me. It often takes off with massive use of resources when I'm not doing anything, and I may not have use of my pointer for several minutes. How can I shut down most of this so I can use the browser to get my work done. I just want to use the web site access part of the software, and drop all the extra. I don't want Firefox to be able to recover after a crash. I just want to browse with a minimum of interference from Firefox. I would think that this is the most commonly asked question.

    Firefox consumes a lot of CPU resources
    * https://support.mozilla.com/en-US/kb/Firefox%20consumes%20a%20lot%20of%20CPU%20resources
    High memory usage
    * https://support.mozilla.com/en-US/kb/High%20memory%20usage
    Check and tell if its working.

  • Time Capsule disk access SLOW!   2TB - Dual band

    I have a Time Capsule (2TB, Dual Band, Firmare at 7.4.2)
    Its been working like a dream, backing up 3 Macs for the last 8 months.
    I also use it for connecting two or three other disks via USB and then making those accessible over the LAN, and there is also about 100GB of data on the Time capsule disk itself that i use as a dump for files so i can get to them from anywhere on my LAN.
    Lately I started to notice EXTREMELY slow disk access, even when i am connected via ethernet (1000 base) - and equally when I am connected via wifi (n)
    for example, copying over a 2Mb photo can take minutes when it should take seconds.
    i've been trying to figure out whats going on here for a while and so i checked out the sizes of the backup files.. the sparseimages that time machine creates.
    one of them was nearly 1TB, while another was around 500GB and the other was around 120GB
    that plus my data meant there was only about 300GB free on the 2TB disk.
    I have a feeling the slowness could be down to extreme fragmentation of the drive... ??
    so i decided to dump the backup files and copy off my other data and do a erase of the disk and start again.. but get this.. i can't even delete the 1TB file ! I have been trying for about 3 days now and it just will not delete.. i get the Deleting msg box and it just sits there, literally ALL night...
    i know it isn't just hanging on the Mac (10.6.4) because deleting the other two images also took a long time (but not this long!)
    i can't just wipe the disk now because i can't get my other data off either.. I have tried copying it over the network and onto a USB disk connected directly to the Time Capsule, but 3 days later and i'm still copying files..
    to put some context into this, I copied over 1.8Gb today and it took about 4 hours...
    has anyone had this problem before?? what on earth is going on?? is it down to fragmentation, or something else?? the TC has been working fine up until a few weeks ago when i started to notice slow speed.
    any ideas ?
    thanks
    Adam

    if anyone ever has this issue ....
    it must have been EXTREME fragmentation. I bought another 2TB external disk, connected it to the TC, did a complete archive, which took around 24 hours... then i wiped the TC and put stuff back... it now works fine again...

  • Time Capsule remote disk access

    So i went into airport utility and enabled access disk via internet, enabled file sharing etc.
    i put some movie clips and a couple of songs and files i wanted to access on there when im not at home.
    music playback is fine....and editing PSD files off the disk is fine but movie playback is choppy at best...some of them are 20minute TV shows in both AVI and MP4 format tried in both itunes and vlc same scenario
    i access the disk via various macs via Command+K enter my IP address.
    (btw how do i get the same access to it via a windows based PC?)
    is there a way to get a good stream remotely?
    i tried via ethernet and 802.11n wireless
    any ideas?

    Here are some additional settings
    Time Capsule=>Edit
    hostname: [email protected]
    username: my dyndns account user name at dyndns.org
    password: my dyndns account password at dyndns.org
    Disks=>File Sharing
    Checked Advertise Disks globally with Bonjour
    Secure Shared Disk: With Time capsule Password
    Router:
    Time Capsule's IP is set to DMZ plus enabled:
    DMZ plus enabled explanation for 2Wire:Set the selected computer in DMZplus mode. All inbound traffic, except traffic which has been specifically assigned to another computer using the “Allow individual applications” feature, will automatically be directed to this computer. The DMZplus-enabled computer is less secure because all unassigned firewall ports are opened for that computer.
    From a remote location, should afp://[email protected]/MyTimecapsuleDisk work? And will it work when the ip changes as it is dynamic?

  • How to access Time Capsule 2013 disk from Windows 7

    I have seen several (older) threads that suggest that you can access the Time Capsule disk from Windows 7 using Windows Explorer and navigating to \\Time-Capsule-Name.  However, I have tried this repeatedly and just cannot get it to work. 
    Could this be a bug or unsupported in the latest 2013 Time Capsule?
    In Airport Utility, under Disks > File Sharing, I have Enable File Sharing checked.  The workgroup is WORKGROUP. 
    The IP address is 192.168.1.4.  I am able to ping it successfully; I just cannot access it through Windows Explorer.
    Am I missing something?  Please help!

    Are you running homegroup on the PC..??
    That should definitely be turned off!!
    Homegroup can mess things up.
    I would try with ipv6 off but that might make no difference at all.. leave it set to local-link if it doesn't do anything.
    There was issues when the Gen4 came out with security. Windows uses too high an encryption level..
    See info here.
    http://www.dummies.com/how-to/content/changing-file-encryption-settings-on-a-win dows-7-h.pageCd-storyboard,pageNum-5.html
    Change to 40 or 56 bit encyrption.
    Unfortunately some of the controls you think you are setting on the TC are not really being set at all.. eg I doubt you are actually changing the workgroup.. if possible though you should have disk access set to lowest level .. device password and you should also turn on guest account to read and write.. that usually solved access for me in earlier TC .. I haven't bought an AC for the moment.. because.. well I believe I have done my time on the war front. I bled out already on the bleeding edge.. time for you to do it and I can reap the benefits on the second hardware revision and about the 10th firmware update.
    Other things I would try if the above don't work.
    Factory reset and start over.. you moved the IP of the TC and that is unwise.
    Do not worry about the various settings.. do the factory reset.. in full isolation from the internet. ie TC plugged into the windows computer. Nothing else in either..
    Now try at the default IP of the TC..
    \\10.0.1.1
    Beyond that you need another computer to try or some device. iOS would be fine... in normal situation you would test other protocols, eg ftp but TC offers only SMB and AFP.. there are no AFP clients for windows that I have heard of.. you might have success if you boot the PC from a linux live cd.. it should be able to read AFP even if it cannot write to it. But the SMB is more important. If linux can access with SMB protocol and windows cannot.. the issue is windws OS.
    Or iOS devices have some AFP file browsers available but again just test with SMB.. most file browsers for iOS use SMB.. if other devices can manage SMB protocol to open files on the TC then the finger points very clearly to the PC as the trouble.. on the other hand if nothing can access SMB then the TC is faulty and should be replaced.

  • How can I reduce my Z report access time ?

    Dear Friends,
    I have to access z report , but its processing time is very long , Is this possible that if i access report to give some
    input parameters , now next time if I access the same  report with the same parameter then access time is low ,
    I mean if I am accessing the report first time then if it takes approx 8 hours and then i save this access
    sequence somewhere then if I am accessing this report next time with the same input parameters then
    it will take only 10 min ,
    Is this possible ? if yes then How ?
    Suggest ....
    Regards ,
    Rihan
    SAP-abaper
    Edited by: rihano7 mansoori on Oct 18, 2011 11:46 AM

    Dear friend,
    to reduce your z program execution time , you need to work out very simple few steps.
    check t code sm30 and check your z program's execution time.
    if your database execution time is too long then you have to perform following steps to reduce your execution time.
    1 ) check your I/O database query.
    2 ) use select <field name> ... instead of select * from..
    3 ) if you are using your database query in any loop or internal table loop then remove that query and use internal table inside that loop.
    3 ) if you are playing with bunch of data then you need to create internal tables for the specified tables and use internal table
    as standard database table so that your program performance going to be better.
    there are more features provided by sap it self you need to explore more.
    say for it.   index,buffering...un-necessary occupied memory n all...
    hope for the best programming.
    good luck
    Avirat

  • Cannot access disk in Time Capsule after updated to 7.4.1

    I have a macbook pro and a PC(MS Vista), both connect to the Time Capsule via LAN.
    After I updated the Airport Utility to 7.4.1 in PC several days ago, I could never access the disk in Time Capsule via PC, it always said "Unknown user, incorrect password, or login is disabled. Please retype the login information or contact the disk's administrator". However, everything is fine when I use macbook to access the disk.
    I tried to reset the password, tried to access with disk password or with accounts, but nothing worked.
    Whatever the password I changed to, it always show the same dialog.
    Thank you for your helping!

    I had the same problem.. Updating to 7.4.2 seems to have solved the problem, for me anyway. There seem to be a lot of posts about people noticing network slow downs. Can't say I have, but currently I can't access my printer attached to the USB port on my TC from my PC. My iMac can print to it no problem. Bought printer after update installed. If someone can point me in the right direction of solving that problem that would be great.
    Cheers

  • HT1578 I have found that I can't access the contents of the encrypted disk in time machine backups.  The Finder window displays a grayed-out icon representing the disk.  Can this be remedied?

    I have found that I can't access the contents of the encrypted disk in time machine backups.  The Finder window displays a grayed-out icon representing the disk.  Can this be remedied?

    Time Machine error: Apple Support Communities
    OSStatus 5 when trying to use Lion...: Apple Support Communities

  • WiFi bandwidth required to access Time Capsule hard disk

    Hey all,
    Recently I moved, switched, houses. In this new house I have put my Time Capsule in the living room, and my computer is in the bedroom.
    Ever since I did that, I had troubles accessing Time Capsule hard drive. It would often get disconnected, Time Machine could not "find backup disk", streaming video was not working, and more.
    At first I thought that in the move I managed to bump TC a bit too hard and that maybe hard drive itself was damaged. Then I moved my MBP to kitchen, to do some work there (kitchen overlooks living room, there is a direct visual link to TC from there, no walls in between).
    Taaa-daaaa! Connection to Time Capsule and the hard drive inside was perfect again.
    However, all of the WiFi signal indicators, on both my Mac and other iOS devices are full when I am in my bedroom. The signal is therefore strong enough to make these devices think there is a 5/5 signal quality. But obviously that is wrong signaling. Not even Air Port utiliy gave any clues that even tho WiFi signal was 5/5 the actual bandwidth was not even close sufficient for optimal access to Time Capsule's hard disk. Which is just silly.
    Dear Apple, would it be possible to implement some sort of speed check into Air Port Utility which actually checks _REAL_ state of bandwidth and then advises what to do; "Please move closer to the Time Capsule Basestation, bandwidth is too low to access".
    I will say it again; the WiFi indicators are all 5/5, and everything regarding regular internet access and similar works awesome. But connection to hard disk obviously requires epic signal strength and no software indicates that.

    If the Time Capsule is providing a wireless network signal, an Internet connection does not need to exist to move files from the Mac to the Time Capsule, or vice versa.
    Log onto the Time Capsule wireless network
    Open Macintosh HD
    Look for the Time Capsule icon under the SHARED heading on the left side of the window
    Click on the Time Capsule icon and a folder named Data (unless you have renamed it) will appear to the right
    Double click Data to mount the drive on the Mac's desktop
    Open the drive on the desktop and you can drag/drop files over to the destination that you choose on the Mac.
    Once the file transfer is complete, double check to make sure that the files are back on your Mac and everything is working properly. Then, you can erase the Time Capsule hard drive.

  • Access Time Capsule disk from iOS device (iPad, iPhone)

    My intended goal is to use Time Capsule disk as cloud replacement for MobileMe iDisk which is being discontinued in June.
    I've done Time Capsule 7.6.1 update with iCloud support, entered my iCloud account settings, and authorized disk access via WAN. Everything appears to be configured properly as I can access my Time Capsule disk on Mac computers from outside my home network. How do I access this disk on iPhone and iPad?

    I use FileBrowser app. It works. Their latest version is much easier to configure than earlier versions. You need to turn file sharing on and SMB on your time capsule disk.
    I use the time capsule disk to store a few files which I never want to be on my iPhone or iPad, but do want access to them. They are not backed up on the time capsule but since they also exist on my Mac, they are backed up from there.

  • Time machine disk access on almost allthe time

    Hi, I have an external disk set up for Time Machine. So far it seems to be working ok. The only thing I notice is that the access light on the disk is on almost all the time. Even when the system is a sleep?
    I'm not sure if there is actually disk access going on or the light is just on. I do see the light go out for a few seconds now and then. So is it normal to have accessing the disk all the time?
    Thanks.
    Pat.

    oldpeddler wrote:
    I have a 1 gig time machine drive for backup and it always shows the drive as "locked" even when it is unlocked. (The lock at the bottom is open, but there is a lock on the large disk icon) It won't allow me to create a new folder no matter what I do.
    Is a time machine drive 100% dedicated?
    no. the fact that yours is locked is not normal. run the following terminal command (copy and paste please)
    sudo chflags 0 /Volumes/*
    you'll have to enter your admin password (which you won't see). that's normal.

  • [SOLVED] Long time with excessive disk access before system reboot.

    I feel I would be grateful for some help here. It's my first go at Arch Linux having used Xubuntu for several years. It may be I'm missing something obvious but then I would be happy if someone could point me in the right direction.
    Problem: When I do a system restart by issuing
    $ systemctl reboot
    I get the following output
    Sending SIGTERM to remaining processes...
    Sending SIGKILL to remaining processes...
    Unmounting file systems.
    Unmounted /sys/kernel/debug.
    Unmounted /dev/hugepages.
    Unmounted /dev/mqueue.
    Not all file systems unmounted, 1 left.
    Disabling swaps.
    Detaching loop devices.
    Detaching DM devices.
    Unmounting file systems.
    Not all file systems unmounted, 1 left.
    Cannot finalize remaining filesystems and devices, giving up.
    Successfully changed into root pivot.
    Unmounting all devices.
    Detaching loop devices.
    Diassembling stacked devices.
    mdadm: stopped /dev/md126
    [ 1654.867177] Restarting system.
    However, after the last line is printed, the system does not reboot immediately but hangs for about 2 minutes with heavy disk activity. I can't say if it is read or write or both, but the led of my HDD is lit constantly. When this activity stops, the machine reboots.
    $ systemctl poweroff
    works as expected, i.e. shuts down immediately without excessive disk access.
    I see this behaviour both with the installed Arch system and when I run the live installation/recovery CD. It is also the same if I boot into the busybox rescue shell and then restarts the machine from there. It also does not seem to matter if any partition on the disk is is mounted or not, the behaviour is always the same with 2 min. heavy activity before reboot.
    System setup:
    Sony Vaio VPZ13. Intel Core i5 M460, 4GB ram, 2x64GB SSD in RAID0 configuration via bios setting (a.k.a. fake raid), partitioned like:
    windows boot
    windows system
    linux swap
    linux "/"
    linux "/home"
    So it's a dual boot setup with Windows 7.
    The raid array is assembled by mdadm, and I have mdadm_udev among my mkinitcpio.conf hooks (after blocks but before filesystems).
    Snip from journalctl log showing actions when reboot has been issued:
    jan 18 12:24:23 wione systemd[1]: Stopping Sound Card.
    jan 18 12:24:23 wione systemd[1]: Stopped target Sound Card.
    jan 18 12:24:23 wione systemd[1]: Stopping Bluetooth.
    jan 18 12:24:23 wione systemd[1]: Stopped target Bluetooth.
    jan 18 12:24:23 wione systemd[1]: Stopping Graphical Interface.
    jan 18 12:24:23 wione systemd[1]: Stopped target Graphical Interface.
    jan 18 12:24:23 wione systemd[1]: Stopping Multi-User.
    jan 18 12:24:23 wione systemd[1]: Stopped target Multi-User.
    jan 18 12:24:23 wione systemd[1]: Stopping Login Prompts.
    jan 18 12:24:23 wione systemd[1]: Stopped target Login Prompts.
    jan 18 12:24:23 wione systemd[1]: Stopping Getty on tty1...
    jan 18 12:24:23 wione systemd[1]: Stopping Login Service...
    jan 18 12:24:23 wione login[333]: pam_unix(login:session): session closed for user root
    jan 18 12:24:23 wione login[333]: pam_systemd(login:session): Failed to connect to system bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    jan 18 12:24:23 wione systemd[1]: Stopped D-Bus System Message Bus.
    jan 18 12:24:23 wione systemd[1]: Stopped Getty on tty1.
    jan 18 12:24:23 wione systemd[1]: Stopping Permit User Sessions...
    jan 18 12:24:23 wione systemd[1]: Stopped Permit User Sessions.
    jan 18 12:24:23 wione systemd[1]: Stopped Login Service.
    jan 18 12:24:23 wione systemd[1]: Stopping Basic System.
    jan 18 12:24:23 wione systemd[1]: Stopped target Basic System.
    jan 18 12:24:23 wione systemd[1]: Stopping Dispatch Password Requests to Console Directory Watch.
    jan 18 12:24:23 wione systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
    jan 18 12:24:23 wione systemd[1]: Stopping Daily Cleanup of Temporary Directories.
    jan 18 12:24:23 wione systemd[1]: Stopped Daily Cleanup of Temporary Directories.
    jan 18 12:24:23 wione systemd[1]: Stopping Sockets.
    jan 18 12:24:23 wione systemd[1]: Stopped target Sockets.
    jan 18 12:24:23 wione systemd[1]: Stopping D-Bus System Message Bus Socket.
    jan 18 12:24:23 wione systemd[1]: Closed D-Bus System Message Bus Socket.
    jan 18 12:24:23 wione systemd[1]: Stopping System Initialization.
    jan 18 12:24:23 wione systemd[1]: Stopped Setup Virtual Console.
    jan 18 12:24:23 wione systemd[1]: Unmounting Temporary Directory...
    jan 18 12:24:23 wione systemd[1]: Unmounted Temporary Directory.
    jan 18 12:24:23 wione systemd[1]: Unmounted /home.
    jan 18 12:24:23 wione systemd[1]: Starting Unmount All Filesystems.
    jan 18 12:24:23 wione systemd[1]: Reached target Unmount All Filesystems.
    jan 18 12:24:23 wione systemd[1]: Stopping Local File Systems (Pre).
    jan 18 12:24:23 wione systemd[1]: Stopped target Local File Systems (Pre).
    jan 18 12:24:23 wione systemd[1]: Stopping Remount Root and Kernel File Systems...
    jan 18 12:24:23 wione systemd[1]: Stopped Remount Root and Kernel File Systems.
    jan 18 12:24:23 wione systemd[1]: Starting Shutdown.
    jan 18 12:24:23 wione systemd[1]: Reached target Shutdown.
    jan 18 12:24:23 wione systemd[1]: Starting Save Random Seed...
    jan 18 12:24:23 wione systemd[1]: Starting Update UTMP about System Shutdown...
    jan 18 12:24:23 wione systemd[1]: Started Save Random Seed.
    jan 18 12:24:23 wione systemd[1]: Started Update UTMP about System Shutdown.
    jan 18 12:24:23 wione systemd[1]: Starting Final Step.
    jan 18 12:24:23 wione systemd[1]: Reached target Final Step.
    jan 18 12:24:23 wione systemd[1]: Starting Reboot...
    jan 18 12:24:23 wione systemd[1]: Shutting down.
    jan 18 12:24:23 wione systemd-journal[189]: Journal stopped
    -- Reboot --
    Since I have used Xubuntu without hassle for several years, I first thought the problem may be related to systemd reboot and something in my system setup. But I have tried the Fedora 17 live CD and rebooting there works as expected. So, since it works in one systemd distro, it should work with Arch as well.
    Then I thought that it maybe had something to do with the raid-array, something along the lines of
    https://bugzilla.redhat.com/show_bug.cgi?id=752593
    https://bugzilla.redhat.com/show_bug.cgi?id=879327
    But then I found the shutdown hook for mkinitcpio and now I see that the array is stopped and dissassembled. So thats not the problem either. (Or thats what I guess at least.)
    Unfortunately I'm out of ideas. Any help would be grateful.
    Last edited by wingbrant (2013-02-02 22:20:20)

    It turned out that the magic word for me was "reboot=pci" on the kernel command line. With that option set it works lika a charm The machine reboots nice and clean.

  • USB Disk access "Extremely" Slow

    I am unable to use my network disk essentially because the disk access write/read times are SO SLOW...I am better off running backups by connecting my disk directly to the compter. Does anyone else have this problem?
    It took 5 Minutes to read my Music directory; connected directly via the same cable it takes seconds.
    What gives?
    Any help would be appreciated.

    I got my AE and Seagate FreeAgent Pro hard drive
    yesturday and I have the exact same problem.
    If I hook up the drive to the computer directly it is
    very very fast.
    If I hook it up to the AE it takes about 2 hours to
    move a couple fils totaling 2 gigs over ETHERNET!
    If I transfer the same files over the same network
    between 2 computers the speed is much much faster.
    Is this normal or some nasty firmware bug. It almost
    feels like the AE is using USB 1.0 for some reason.
    You guys are funny. How about checking out the specs of USB 2.0 and 802.11g/n?
    Go here:
    http://en.wikipedia.org/wiki/802.11g#802.11g
    and here:
    http://en.wikipedia.org/wiki/USB_2.0
    Firewire vs. USB tests are here:
    http://www.g4tv.com/techtvvault/features/39129/USB20_Versus_FireWirepg3.html
    802.11g:
    Release Date Op. Frequency Data Rate (Typ) Data Rate (Max) Range (Indoor)
    June 2003 2.4 GHz 19 Mbit/s 54 Mbit/s ~35 meters
    802.11n:
    Release Date Op. Frequency Data Rate (Typ) Data Rate (Max) Range (Indoor)
    Mid 2008 5 GHz and/or 2.4 GHz 74 Mbit/s 248 Mbit/s (2 stream) ~70 meters
    Bottom line: 802.11n typical is 74Mbps, 802.11g typical is 19Mbps. USB 2.0 typical is 50Mbps.
    On the average, you should expect your speed to drop by over 50% when connecting the USB drive to AESB using an 802.11g device. If your device is 802.11n, then you should have pretty much similar performance.
    Now, if you increase the distance from your base station, or you put walls in between, the performance of 802.11g will go down "dramatically", all the way to 2-3Mbps, easy. Not so for 802.11n, which behaves much better at longer distances.

  • Slow hard disk access --- still wonky

    Hi,
    Recently i've noticed that hard disk access has become very laggy, to the point
    where it's driving me crazy.
    For example, if i want to tab-complete through my directories, i have to wait a
    few seconds each time.  Similarly with saving files in vim, or just using
    firefox, which seems to suffer frequent hangs while the disk is spinning.
    I tried downgrading the kernel to 3.4.something, to no avail (it definitely used
    to work just fine with the old kernels).  I've also tried adding "commit=60" to
    my fstab to reduce journalling access.
    I ran bonnie++ and the following results came back:
    Version 1.03e ------Sequential Output------ --Sequential Input- --Random-
    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
    Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
    mattdell 7672M 102163 88 106118 6 38973 3 83155 67 124734 4 207.5 0
    ------Sequential Create------ --------Random Create--------
    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
    files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
    16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
    mattdell,7672M,102163,88,106118,6,38973,3,83155,67,124734,4,207.5,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
    t
    which (by comparison with other results i've seen online) seem to indicate
    there's nothing particularly wrong with the disk (it's a toshiba 7200rpm, i
    think).
    So i'm at a bit of a loss what to do next.  I've attached my dmesg output.  If
    anyone has any suggestions, that would be awesome.
    Dmesg output: http://pastebin.com/kJcbZVBT
    Thanks,
    Matt
    Last edited by yourealwaysbe (2012-11-11 14:41:24)

    Arf -- i noticed firefox was still laggy last night, and on a (second or third) reboot this morning, things are back to being laggy even without having run firefox...
    I'm not sure where to look, but here's the output of mount if that will be of any use:
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    dev on /dev type devtmpfs (rw,nosuid,relatime,size=1962404k,nr_inodes=490601,mode=755)
    run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
    /dev/sda3 on / type ext4 (rw,relatime,data=ordered)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
    cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
    cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
    cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
    cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
    cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
    cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
    cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
    cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
    /dev/sda1 on /boot type ext2 (rw,relatime)
    /dev/sda4 on /home type ext4 (rw,relatime,data=ordered)
    All suggestions appreciated
    edit: also, nothing untoward reported by top (i don't think):
    top - 15:52:02 up 16 min, 0 users, load average: 0.36, 0.41, 0.30
    Tasks: 104 total, 2 running, 102 sleeping, 0 stopped, 0 zombie
    %Cpu(s): 0.1 us, 0.2 sy, 0.0 ni, 99.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
    KiB Mem: 3930516 total, 779240 used, 3151276 free, 51616 buffers
    KiB Swap: 2626620 total, 0 used, 2626620 free, 285284 cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    1 root 20 0 32552 3432 1924 S 0.0 0.1 0:00.51 systemd
    2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
    3 root 20 0 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/0
    4 root 20 0 0 0 0 S 0.0 0.0 0:00.14 kworker/0:0
    5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
    7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/u:0H
    8 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
    9 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
    10 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
    The lag tends to occur when first tabbing into a directory.  On the second time
    tabbing through things seem to be fast -- i guess that's cached somewhere.
    editedit: i also tried switching back to initscripts, with no improvement, so i guess systemd is off the hook for the remaining problems
    Last edited by yourealwaysbe (2012-11-11 15:13:57)

  • Disk utility intermittently reports corrupt disk

    As a matter of routine maintenance I like to "Verify Disk" in disk utility from time to time.
    The issue I am having is that disc utility intermittently identifies that the Server drive is corrupt and needs to be repaired. Here is a typical sequence:
    1) Run verify disk and it reports a corrupt disk.
    2) Boot up off a different disk and re-run verify / repair disk on the problematic disk and it reports that the disk is fine.
    3) Boot up on the original (problematic) disk and re-run verify disk and it reports the disk as fine.
    4) Checking again the next day the original problem resurfaces - disk is corrupt.
    The server appears to be running fine, but I am loathe to have an issue like this potentially simmering in the background. I am also averse to upgrades until this issue is resolved. Any pointers on getting this resolved would be much appreciated.
    Coincidentally, I have run disk warrior and it reports no issues.

    Here is the typical disk utility log when reporting the error:
    Verifying volume “Server”
    Verifying volume when it is mounted with write access.
    Checking Journaled HFS Plus volume.
    Checking extents overflow file.
    Checking catalog file.
    Incorrect block count for file kdc.log
    (It should be 91 instead of 92)
    Incorrect number of thread records
    Invalid leaf record count
    (It should be 1567637 instead of 1567636)
    Checking multi-linked files.
    Checking catalog hierarchy.
    Checking extended attributes file.
    Checking volume bitmap.
    Volume bitmap needs minor repair for under-allocation
    Checking volume information.
    Invalid volume file count
    (It should be 684309 instead of 684308)
    Invalid volume free block count
    (It should be 47746895 instead of 47747031)
    Volume header needs minor repair
    The volume Server was found corrupt and needs to be repaired.
    Error: This disk needs to be repaired. Start up your computer with another disk (such as your Mac OS X installation disc), and then use Disk Utility to repair this disk.

Maybe you are looking for