Sign in to follow this  
Followers 0
murdock

IO Writes

4 posts in this topic

#1 ·  Posted (edited)

Posted Image

Holy shit, why are there so many disk writes going on?

I thought Steam had a lot when I left it running, but this just blows everything Ive seen out of the water. Is this normal for scripts that have a loop in autoit, or is my computer just weird? (My computers been on for maybe 3 days, and I only run the script a few times every day for a couple minutes)

The relevant loop, if it even matters:

While ($endCheck < 19 And WinExists($oIE))
    $url = _IEPropertyGet($oIE, "locationurl")
    If StringInStr($url, $pExplore) OR StringInStr($url, $pIndex) Then
        _IENavigate ($oIE, $pExplore)
        $endCheck += 1
        $exploreNum += 1
    ElseIf StringInStr($url, $pLand) Then
        _IENavigate ($oIE, $pHead)
        _IELoadWait($oIE)
        $endCheck = Land($oIE)
    Else
        _IENavigate($oIE, $pClearAction)
    EndIf
WEnd

Func Land($foIE)
    If $exploreNum > 120 Then 
        _IENavigate($foIE, $pStorage)
        $exploreNum = 0
    Else
        _IENavigate ($foIE, $pBooty)
    EndIf
    _IENavigate ($foIE, $pIndex)
    Return 0
EndFunc;==> Land()

edit: I meant disk, my bad

Edited by murdock

Share this post


Link to post
Share on other sites



Mainly cause you have no sleep inn your script. If the script only runs a few times a day id say add a 2 min sleep or something like that.


UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Mainly cause you have no sleep inn your script. If the script only runs a few times a day id say add a 2 min sleep or something like that.

I have Sleep(). Its called from _IENavigate() which calls_IELoadWait() which calls Sleep().

Edited by murdock

Share this post


Link to post
Share on other sites

Well that sleep aint long enough. You need a sleep to slow down your script.

But having alot IO writes should not be a problem unless its writing to a flash drive witch have a max value IO writes before its dead.


UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0