Jump to content
UBot Underground

How to speed up your CPU and bots using spare USB flash drives.


Recommended Posts

Hey guys,

 

Here are a couple more things I have learned on my Ubot journey.

 

 

You can use a spare memory stick to increase the RAM of your PC thus speeding up your CPU on the whole. (not CPU processing. whatever RAM does)

 

Here is a video that explains it just fine I hope and shows you the steps. It's real quick and easy trust me and this is not my video.

 

 

I also know that some PC's wont let you do it because it is unnecessary for that PC.

 

Plus. on my PC I used a 32GB flash drive to see how much I can increase but it only used 4GB of drive space.

 

So, I had like 4 4GB thumbs and used those instead (across 4 PC's). You will not be able to use them for anything else but, you may reformat to use for something else at a later time.

 

The other thing I wanted to share is if you run your bots or any other program that will allow you to install on a thumb drive it is like sooooooo much faster to load and run everything from the flash drive including the folders.

 

If you do, just stick the entire folder on the flash drive so when starting up,loading list and other stuff from disk is 50x (or so) faster.

 

The reason is you are not relying on the speed of your CPU hard drive (5,200 or 7,200 RPM's) whatever it may be while the Thumb drives are rather instant in comparison.

 

Hope that helps (HTH),

 

TC

  • Like 4
Link to post
Share on other sites

Interesting finding for increasing total memory, but still, you should also consider that read and write speeds are much slower when compared with RAM.....it actually can't be compared to the speed of RAM or even a hard-drive (because RAM runs on internal bus, which is usually a lot faster than peripheral one), especially if you are using a USB2.0 or even USB1.0 flash stick/port. For example here are randomly found speeds for HDD, SSD and RAM and you can see that RAM is around 10 times faster than a SSD, and HDD is even worse....however, for comparison USB2.0 can reach read speeds around 35MB/s, which is even lower than HDD speeds from the previous image, so it doesn't come near SSD, not to mention comparison with RAM. With USB3.0 speeds are a bit better, but still, I would always prefer to buy extra RAM.

Link to post
Share on other sites

Sure, but some Computers/OS are only capable of having so much RAM installed. In such a computer that can add more RAM it of course add more.

 

The technique was intended for or developed for Win XP users back in the day and my PC's are W7 with max 8GB RAM, but now I get 12GB (ish)

 

Much more than that is probably useless for hire end CPU"s

  • Like 1
Link to post
Share on other sites

Traffik Cop,

Thanks for the information. I have not read about ReadyBoost before; but I will give it a try.

 

Andy (Arunner26)

Edited by arunner26
Link to post
Share on other sites

Also, it does not show as RAM.

 

So like, if go and see how much you have it will still be as original.

 

It's like a cache and over time your system will get faster as it saves more on that ReadyBoost drive.

 

 

Glad you like it,

 

TC

Link to post
Share on other sites
  • 2 months later...

Very nice post TC, I will pass this on to some of my clients that are having a hard

time because of slow CPU speed, hey this may save a refund request one day.

  • Like 1
Link to post
Share on other sites

when selecting the usb stick, do i need to buy USB 3.0? i notice some USB have different speed, does it really matter?

 

Speed: 32GB - 70MB/s read, 15MB/s write

Speed: 16GB, 32GB, 64GB: 40MB/s read, 10MB/s write

If i already have 8GM of physical RAM, will this trick still help me? thanks a lot!

Link to post
Share on other sites

remember

what TJ noted  http://www.ubotstudio.com/forum/index.php?/topic/16673-how-to-speed-up-your-cpu-and-bots-using-spare-usb-flash-drives/&do=findComment&comment=99675

 

3.0 and a stick over 4 GB is over kill I think it only uses 4 GB of the stick anyway

 

stick with 2.0, the stuff it saves are small files. think of it as webpage cache but for loading programs instead of pages.

 

and you prolly only need one, but hey if 2 works great

 

 

TC

Link to post
Share on other sites

Readyboost is mainly to improve hard disk access time for random reads. It doesn't speedup CPU or ram. 

I think a better investment would be to buy a SSD drive if your system still runs on SATA.

 

 

For the geeks:

http://technet.microsoft.com/en-us/magazine/ff356869.aspx

http://technet.microsoft.com/en-us/magazine/ff356869.aspx

 

Cheers

Dan

Link to post
Share on other sites

Hi Dan,

 

Do you think the major issue of a slow ubot is due to reading files on a SATA?

I have 8GB RAM on a core2 dua and also tested on a friend's macbook with i5 processor, 8GB RAM (bootcamp running windows) but didn't see a huge improvement with the higher end processor.

This make me wonder the main issue might be ubot reading files on the slow hard disk.

 

Please advice.

Link to post
Share on other sites

Hi Dan,

 

Do you think the major issue of a slow ubot is due to reading files on a SATA?

 

I have 8GB RAM on a core2 dua and also tested on a friend's macbook with i5 processor, 8GB RAM (bootcamp running windows) but didn't see a huge improvement with the higher end processor.

 

This make me wonder the main issue might be ubot reading files on the slow hard disk.

 

Please advice.

 

Slow can mean different things to different people. And it's an individual thing as well. 

What is slow to you, might not be slow for others. 

 

Can you elaborate a bit what slow actually means?

 

Load time? Working within the UI? Always? Only with certain bots? Compiling?

 

Dan

Link to post
Share on other sites

Slow can mean different things to different people. And it's an individual thing as well. 

What is slow to you, might not be slow for others. 

 

Can you elaborate a bit what slow actually means?

 

Load time? Working within the UI? Always? Only with certain bots? Compiling?

 

Dan

I notice if i am working on a medium size bot, it will be slow to drag and drop the node and when click on "ok" it will need some waiting time. (i am on v4.2.20 & carl's bootstrap UI)

 

i will not load bot file and compiling bot all the time, so the speed for open and compiling are reasonable.

 

what i am in concern is the speed of each drag and drop of command, i tried to upgrade RAM and CPU and it does have some improvement, but not much. (as i said i have tried on i5 with 8GB RAM, i just don't have the equipment to test with i7 and SSD yet)

 

do i need a latest i7 with 16GB RAM + high speed SSD to make Ubot working fast? or may be upgrade to SSD will be the major improvement for this?

 

 

 

Link to post
Share on other sites

I notice if i am working on a medium size bot, it will be slow to drag and drop the node and when click on "ok" it will need some waiting time. (i am on v4.2.20 & carl's bootstrap UI)

 

i will not load bot file and compiling bot all the time, so the speed for open and compiling are reasonable.

 

what i am in concern is the speed of each drag and drop of command, i tried to upgrade RAM and CPU and it does have some improvement, but not much. (as i said i have tried on i5 with 8GB RAM, i just don't have the equipment to test with i7 and SSD yet)

 

do i need a latest i7 with 16GB RAM + high speed SSD to make Ubot working fast? or may be upgrade to SSD will be the major improvement for this?

Do you have roboform installed on your computer?

Link to post
Share on other sites

I notice if i am working on a medium size bot, it will be slow to drag and drop the node and when click on "ok" it will need some waiting time. (i am on v4.2.20 & carl's bootstrap UI)

 

i will not load bot file and compiling bot all the time, so the speed for open and compiling are reasonable.

 

what i am in concern is the speed of each drag and drop of command, i tried to upgrade RAM and CPU and it does have some improvement, but not much. (as i said i have tried on i5 with 8GB RAM, i just don't have the equipment to test with i7 and SSD yet)

 

do i need a latest i7 with 16GB RAM + high speed SSD to make Ubot working fast? or may be upgrade to SSD will be the major improvement for this?

 

 

How many lines of code does the script has? When you switch to code view? Everything including HTML ui?

If it's more than 1000, then you have the reason why it get's slow. 

 

If you use the ui html buider V5, it will produce like 20.000 lines of html code for the html ui = Ubot UI slow like hell.

 

Fix = Don't use that much HTML UI code. Or remove it when you work on the bot. And put it back in when you are done and then compile. 

 

Dan

  • Like 1
Link to post
Share on other sites

How many lines of code does the script has? When you switch to code view? Everything including HTML ui?

If it's more than 1000, then you have the reason why it get's slow. 

 

If you use the ui html buider V5, it will produce like 20.000 lines of html code for the html ui = Ubot UI slow like hell.

 

Fix = Don't use that much HTML UI code. Or remove it when you work on the bot. And put it back in when you are done and then compile. 

 

Dan

Hey Dan,

 

I think this is the exact reason why my development always slow like hell :blink:

 

The bot i am working on have about 17,000+ lines in code view (bot and UI html)

 

Thanks for your advice, you are "saving lives" on this forum.

 

Andrew

Link to post
Share on other sites

Hey Dan,

 

I think this is the exact reason why my development always slow like hell :blink:

 

The bot i am working on have about 17,000+ lines in code view (bot and UI html)

 

Thanks for your advice, you are "saving lives" on this forum.

 

Andrew

 

No problem. The ui slowness with large bot's is one of the biggest problems I have as well. But it's the same in C#. When the code get's very long, the ui slows down there as well.

Well... not as fast as with Ubot.. :-)

 

Seth is working on bringing back the include command. So that you can load code externally. He's very well aware of that UI slowness issue. I recorded a couple of videos about that behavior during the 5.5 beta testing. 

 

Dan

  • Like 1
Link to post
Share on other sites

i just brought a 16GB USB3.0 flash drive to test the readyboost, i will format it to NTSF as suggested by some other readyboost forum.

 

some comment said it do nothing to boost computer speed, some said it help a lot, so i will give it a try myself.

 

my pc already have 8GB DDR2 RAM, i5 2.3GHz.

 

I will report the result once i see some different.

Link to post
Share on other sites

Check taskmanager and you will see if CPU gets loaded up alot then you ened better cpu. (but i think u already have good one) SSD is must have, i dont have it :(

 

But with SSD you will see what is speed. Your windows loading will be fast as hell and all disk reading too. it will speed webbrowser and with that ubot.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...