Little-Known Tweak to Boost Hard Drive Performance!

Note: Be sure to see my follow-up article about the traffic I got for this post from digg.com.

The
speed at which your hard drive transfers data is very important, right?
Especially if you need to copy a 20-gigabyte file, like I did. My
laptop was initially copying the file at 2 MB/s because it was
transferring in PIO-only mode, which would have taken almost three
hours. Not only is PIO terribly slow, it consumes lots of CPU power.
While copying that 20-gigabyte file, my CPU usage stayed at 100%.
Therefore, I tried to figure out the best way to increase the transfer
rate. I changed the transfer mode to UltraDMA-6, speeding it up by 600%
to 12 MB/s, and the 20-gigabyte file copied in a little over 30
minutes. Plus, my CPU usage was only about 20-30%.

So, how did
the drive get lowered from UltraDMA to PIO-only mode in the first
place? Well, because Windows has a particularly dumb way of handling
transfer modes for storage devices. After six cumulative (all-time
total) errors while reading or writing a storage device, Windows will
automatically lower its transfer mode. Worse, it never goes back up
unless you reinstall the device. This is bad if you put in a scratched
CD, causing those six-in-a-lifetime errors happen all at once. Even
your hard drive will experience an occasional hiccup, so eventually its
transfer rate is not safe either.

However, there is a setting to
force Windows to only lower the transfer rate after six consecutive (in
a row) errors, and then raise it back up when the errors stop.
Therefore, you can keep your drives in UltraDMA-6 mode.

If you
would like to try changing the transfer mode for your drives, follow
the instructions below. Going from PIO-only mode to UltraDMA-6 will
show you the most significant performance boost. However, your results
may vary. Of course, your drive and motherboard must support
UltraDMA-6, or you won’t see much of a difference. Be careful while you
are doing this; I am not responsible for any mistakes you make. Please
back up your registry first in case something goes wrong!

How to Check Current Transfer Mode

  1. Open Device Manager
  2. Expand IDE ATA/ATAPI Controllers
  3. Double click on Primary IDE Controller or Secondary IDE Controller
  4. Go
    to the Advanced Settings tab to see the current transfer modes. If you
    see anything besides UltraDMA-6, and especially if you see PIO Mode,
    then follow the steps below.

How to Force UltraDMA-6

  1. Open up the Registry Editor.
  2. Navigate to the following key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass{4D36E96A-E325-11CE-BFC1-08002BE10318}.
  3. There
    are several sub-keys under this one, such as 0000, 0001, etc. You are
    interested in two of them that say Primary IDE Channel and Secondary
    IDE Channel.
  4. Make the following changes to both of those keys:
    1. Delete
      any attributes named MasterIdDataCheckSum or SlaveIdDataCheckSum. This
      resets the tracking for errors that Windows uses to determine when the
      transfer mode should be lowered.
    2. Add an attribute with the name
      ResetErrorCountersOnSuccess and a DWORD value of 1. This tells Windows
      that it should lower the transfer mode when there are six consecutive
      errors instead of six cumulative errors.
    3. If they exist, set the
      following keys to a hexadecimal value of ffffffff (eight F’s). This
      will change the transfer modes to UltraDMA-6:
      • MasterDeviceTimingMode
      • MasterDeviceTimingModeAllowed
      • SlaveDeviceTimingMode
      • SlaveDeviceTimingModeAllowed
      • UserMasterDeviceTimingModeAllowed
      • UserSlaveDeviceTimingModeAllowed
    4. Reboot your computer and check the devices to see if they are set to UltraDMA Mode 6.

Let me know about your experiences with this tweak.

Don’t forget to digg this article!

Also see my follow-up article about the traffic I got for this post from digg.com.

ถ้าท่านใดมีปัญหา Update แล้ว Nod32 ฟ้องให้ใส่ Username + Password
ให้ท่านไปที่ Setup > Server แล้ว Add > http://www.nod32.vareza.net/ เข้าไป
หลังจากนั้นในช่องของ Server ให้เลือกเป็น http://www.nod32.vareza.net/
แทน Choose Automatically
หมายความว่า เราเป็นคนกำหนดให้ Nod32…
Update จาก Server http://www.nod32.vareza.net/ เท่านั้น
เพราะ http://www.nod32.vareza.net/ จะไม่ถามหา Username + Password ครับ

เป็นโปรแกรมช่วย ดูด สื่อที่เราจะอยากเข้าไปบันทึกลงในคอมมีหลายเวปที่เราดูหนัง หรือMV หรือ อะไรที่อยากบันทึกแต่ก็ไม่รู้จะบันทึกอย่างไง ตัวนี้แหละ สุดยอดจะเอาให้ท่านได้สมใจ

Download/save/capture/record streaming
Windows Media, Real Media, Real Video, Real Audio, Quick Time Videos
(.asf, .wmv, .wma, .asx, .wmx, .wvx, .wax, .ra, .rm, .rmvb, .ram, .smil, .mp3) rtsp, http or mms

วีธีการติดตั้ง

1.ลงโปรแกรมก่อนน่ะครับ

2.คลิกขวาไอคอนโปรแกรมที่อยู่บน Desktop

3.เลือก Properties

4.คลิกไปที่ Find Target จะไปที่เก็บโปรแกรม

5.ลากไฟล์ที่ชื่อ WMR11.exe ไปทับไฟล์ที่โฟลเดอร์โปรแกรม ตอบ Yes

6. เรียกโปรแกรมมาจะถามหา Serial Number

7.เรียกโปรแกรม Keygen แล้วคัดลอกไปวาง

8.เราก้อได้ตัวเต็มไปตลอดครับ

-= ขอให้ดูดหนัง MV เพลง ให้สนุกน่ะครับ =-

– = วิธีการใช้งาน = –

1.เปิดโปรแกรม

2.คลิก Settings

3.กำหนดการเก็บไฟล์ที่เราดูดมาให้ไปที่ไหน คลิก Recodeings Folder >คลิกเลือก Folder ที่จะเก็บ > คลิก OK

4.เข้าเวปที่ต้องการเช่นผมไปดู Clip VDO ของเวป จับฉ่าย เรื่องอะไรก็ตามมันจะเริ่มบันทึกพร้อมกับที่เรากำลังดู (ต้องดูให้จบน่ะครับถ้าเราปิดหน้าต่างขณะดูไม่จบมันจะดูดได้เท่าที่เราปิดหน้าต่าง)

5.เราก็ค่อยไปเปลี่ยนชื่อไฟล์ที่เราดูดมาให้รู้ว่าเรื่องอะไรเพราะมันดูดมาเป็นชื่อตัวเลข

::เกี่ยวกับภาษีมูลค่าเพิ่ม ฉบับที่ 46::

ประกาศอธิบดีกรมสรรพากรเกี่ยวกับภาษีมูลค่าเพิ่ม (ฉบับที่ 46)

เรื่อง กำหนดหลักเกณฑ์การขออนุมัติใช้เครื่องบันทึกการเก็บเงินเพื่อออกใบกำกับภาษีอย่างย่อ และหลักเกณฑ์ วิธีการ และเงื่อนไขเกี่ยวกับการใช้เครื่องบันทึกการเก็บเงินตามมาตรา 86/6 แห่งประมวลรัษฎากร

———————————————

อาศัยอำนาจตามความในมาตรา 86/6 แห่งประมวลรัษฎากร ซึ่งแก้ไขเพิ่มเติมโดยพระราชบัญญัติแก้ไขเพิ่มเติมประมวลรัษฎากร (ฉบับที่ 30) พ.ศ. 2534 อธิบดีกรมสรรพากรกำหนดหลักเกณฑ์การขออนุมัติใช้เครื่องบันทึกการเก็บเงินเพื่อออกใบกำกับภาษีอย่างย่อ และหลักเกณฑ์ วิธีการ และเงื่อนไขเกี่ยวกับการใช้เครื่องบันทึกการเก็บเงินในการออกใบกำกับภาษีอย่างย่อ ดังนี้

Read More



::เกี่ยวกับภาษีมูลค่าเพิ่ม ฉบับที่ 89::

ประกาศอธิบดีกรมสรรพากรเกี่ยวกับภาษีมูลค่าเพิ่ม (ฉบับที่ 89)

เรื่อง กำหนดแบบหลักเกณฑ์วิธีการและเงื่อนไข เกี่ยวกับการจัดทำรายงาน การลงรายการในรายงาน การเก็บใบกำกับภาษีและเอกสารหลักฐานอื่นที่ใช้ประกอบการลงรายงานภาษีซื้อตามมาตรา87 และมาตรา 87/3 วรรคสอง แห่งประมวลรัษฎากร

———————————————

อาศัยอำนาจตามความในมาตรา 87 และมาตรา 87/3 วรรคสอง แห่งประมวลรัษฎากร ซึ่งแก้ไขเพิ่มเติมโดยพระราชบัญญัติแก้ไขเพิ่มเติมประมวลรัษฎากร (ฉบับที่ 30) พ.ศ.2534 อธิบดีกรมสรรพากรกำหนดแบบ หลักเกณฑ์ วิธีการ และเงื่อนไข เกี่ยวกับการจัดทำรายงาน การลงรายการในรายงาน การเก็บใบกำกับภาษีและเอกสารหลักฐานอื่นที่ใช้ประกอบการลงรายงานภาษีซื้อ ดังต่อไปนี้

Read More

VFP9 สามารถ Copy File DLL เพื่อเรียก Exe ได้ไหม

1. สร้าง Folder ใหม่ และ Copy File DLL เหล่านี้เข้าไปไว้ใน Folder

2. Copy Exe ที่เรา Compile ด้วย VFP9 เข้าไปไว้

3. เรียกใช้งาน Exe ก็สามารถ Run งานได้ปกติ

ส่วน File ที่ผมทดสอบประมาณนี้

foxhhelp9.exe

foxhhelpps9.dll

gdiplus.dll

vfp9r.dll

VFP9RENU.DLL

แต่ถ้าจะเอาแบบเต็มๆ ก็เพิ่ม File เหล่านี้ไปก็ได้ ผมสังเกตุ File เหล่านี้จากการทำแผ่น Setup

vfp9rchs.dll

vfp9rcht.dll

vfp9rcsy.dll

vfp9rdeu.dll

vfp9resn.dll

vfp9rfra.dll

vfp9rkor.dll

vfp9rrus.dll

vfp9t.dll

ReportBuilder.app

ReportOutput.app

ReportPreview.app