topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 21, 2025, 3:21 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 142 143 144 145 146 [147] 148 149 150 151 152 ... 364next
3651
Living Room / Re: BIOS Level malware attack
« Last post by f0dder on March 31, 2009, 05:32 AM »
In the case of hotkey, I guess it depends on how early bios-selection code is done - and whether you do a 100% targeted attack or aim for a generic method.
3652
If only DC had a SSL cert that didn't make firefox throw hissy fits...
3653
Living Room / Re: Conficker - The Facts
« Last post by f0dder on March 31, 2009, 01:28 AM »
How does conficker block those URLs? Simply hooking the winsock DNS resolving functions, or setting the machine's DNS server?
3654
General Software Discussion / Re: Make Firefox 3 load faster
« Last post by f0dder on March 31, 2009, 12:36 AM »
I find firefox startup to be relatively sluggish too, especially once you have a good amount of addons, and after you've used it for a while.

Part of the sluggishness seems to be related to the sqlite database files FF uses for various purposes, like your browsing history - getting those files defragmented can help. I went to the extremes of moving my entire firefox profile and browse cache to a ramdisk :) (one that saves it's content to an imagefile when the computer it shutdown/rebooted, and with regular automated backups in the unlikely case I should have a windows crash or power glitch). Helps a lot.
3655
General Software Discussion / Re: Rambooster. Junk?
« Last post by f0dder on March 30, 2009, 11:03 AM »
Cleaning prefetch files really shouldn't make your computer faster - au contraire. It's a persistent myth that cleaning out the *.pf files is an optimization, though. They're used for telling Windows' application loader that "when loading this application, it's usually going to need these pages right away", instead of demand-loading the pages as they're needed... this is smart because a few larger I/O requests are (a lot!) faster than a lot of small scattered requests. It's not like the .pf files take up a lot of disk space, either - and usually they won't be fragmented.

I honestly can't see how cleaning out %temp% would make things faster, either. Well, OK, if you have several thousand files there and spend time browsing that directory for fun, I guess there could be some slowdown. Stuff can accumulate there, though, so you can save a bit of disk space by cleaning it - which can reduce the time necessary to defragment the partition with the temp files.

Which leads to... do keep your drives defragmented, that does mean a lot for performance... and do use a proper defrag application, the one that comes with windows (including vista) sucks bigtime.
3656
General Software Discussion / Re: Rambooster. Junk?
« Last post by f0dder on March 30, 2009, 09:07 AM »
Why don't you take a single processor CPU with 1 Gigabyte and download a few thousand emails from Eudora (which works its mail through an Inbox that is in memory) and open a few dozen Firefox tabs and a few other browsers and have a couple of dozen programs open and then report back.   If on your system you have a well-behaved game or graphics or web-dev program .. what difference does it make ?
-Steven Avery
I used to run with and AMD64-3500+ (2.2GHz) and 1gig of ram - before that, I had a P4 2.53GHz w/512meg ram (later upgraded to 1gig, iirc). I've put those systems under a lot of stress, lots of uptime, and never ever would a program like cleanmem have helped anything. A thing that did matter for the 512meg system was specifying sane pagefile sizes, so the system didn't have to expand the pagefile... that was a very costly operation. I don't think I've ran XP with less than 512meg ram, but I used Win2000 comfortable with 256meg - and still no "memory optimizers".

What surprises me in your approach is how you don't even address the timing issue.  That for Windows XP to do "stuff" (and likely the wrong stuff) late .. after your keystroke creates a crises .. is doofus memory management.  XP should be prepared for the next need with CPU and memory attuned and ready to go.  This idea that you wait a long time while XP tries to clear out space is simply an operating system weakness. And one that CleanMem helps address.
-Steven Avery
Why should process working sets be trimmed before it's necessary? I'd be frustrated from the possibly unnecessary disk I/O this would cause.

There is an irony that you mention Visual Studio as the major memory-CPU part of your earlier system. I would assume that VS uses the .Net function that encouraged CleanMem that is largely ignored elsewhere.  Thus keeping a light footprint.
-Steven Avery
What is the ".Net function that encouraged CleanMem"? If you mean garbage collection, then that isn't anything at all like process working set trimming. I mention VS since it's a relatively resource-heavy program (sitting at 112MB private bytes with a relatively small solution open). Eclipse (java) sits at 130MB with my schoolstuff workspace open. Those are two of the heavier often-in-use applications I keep running... firefox is, by far, the biggest sinner - it's no unusual for it to sit at 5-800 megabytes private bytes if I haven't restarted the browser all day.

And you say you disabled the Pagefile and ran with 1 Gigabyte.  I am not sure how that works, I read a bit about that way of running and decided against it, I think I remember warnings that it would not work well if at all, perhaps you have different ideas to share.  Clearly the moment you disable the pagefile you have a radically different system, making any comparison one of apples and kumquats.
-Steven Avery
Back when I had 1GB in my system, there'd be an occasional hiccup (read: application crash) if I tried to run recent games without PF enabled, but as a whole things worked well (this was before FF :)). With 2GB I never ran into problems, and in my current system I have 8GB - no pagefile, permanent ramdisk running, and everything flies.

Yes, disabled pagefile does make a difference, namely that I won't suffer disk-write I/O. My laptop has 2GB and a pagefile though - haven't bothered profiling memory usage to see whether it's safe to disable or not.

Note specifically the point about a lot of memory released that does not go to the pagefile.  From Ian Griffith beginning "I'm unconvinced by the points regarding the way Windows pages out applications that are idle.".  It seems that this bears directly on the issues involved with CleanMem as well.
-Steven Avery
What he's referring to is page discard, and that (as he says) only happens with pages that aren't dirty (ie, haven't been written to). This is a relatively tiny amount of memory for most programs, compared to the writable data allocated. Discarding does mean that you don't need to write pages to the pagefile, but it isn't free - once the code/data is needed again, it will be re-read from disk. And disk is slow compared to memory.

Keep in mind that read-only pages are sharable across processes. If you launch two instances of firefox, physical memory will only be allocated for one set of the read-only pages. Same things happen with shared DLL files (as long as they can be mapped to the preferred base address and don't need relocating).

I'd like to run programs/apps without having to restart them for any reason. I shouldn't have to. XP's management does not work for every situation or computer.
-cmpm
Complain to the programmers who write buggy, memory-leaking software :)

But you have to restart firefox sometimes, with or without cleanmem or any other help.
-cmpm
Yes, obviously cleanmem (or anything else) won't help about programs that have memory leaks - the only thing that works is restarting the program.

Cleaning temp files periodically as well as clearing the cache helps with mem and cpu.
-cmpm
How does cleaning temp files help wrt. cpu/memory?

Agreed.  Management doing preemptively, casually in the background, a helpful function that XP does very late in the day of crises, after slowdowns, while you are waiting, and not fully.
-Steven Avery
It trims the working set when minimizing windows, if the application hasn't overridden the default behavior.

I'm not a fan of trimming workingset before it's necessary, since it's a pessimization for the trimmed process(es). An exception would be a program or service that's going to sit idle for long period of time, it can make sense for it to trim it's working set after initial startup is finished... but the largest effect is pleasing people obsessing over task manager memory stats.
3657
Living Room / Re: which is better for hard drive transfers: ide or usb cable
« Last post by f0dder on March 30, 2009, 07:48 AM »
I have removed a cover from the back of my desktop, and have fed SATA and IDE data and power cables from inside, to the fresh air. It is easy to hookup a spare HD for data transfer.

Slightly more hassle than a USB external HD case.
About the same hassle as hooking up a USB adapter.
I'd say a lot more, since you need a poweroff to plug/unplug drives - whereas USB and FireWire are hotplug.
3658
Living Room / Re: BIOS Level malware attack
« Last post by f0dder on March 30, 2009, 07:46 AM »
... (except of course on motherboards where the flashrom chip can be removed from the motherboard - most seem to be directly soldered on, though).

And any motherboard that has dual BIOS chips since the 'backup' BIOS is generally non-writable, (well, at least on the Gigabyte boards), so you can always cross-flash the normal boot BIOS back into the hacked BIOS.

IIRC, the Gigabyte boards also default back to the non-writable BIOS if something out-of-ordinary is detected in the default boot BIOS, (I'll have to read my manual a bit more I think).
Not quite, because you still have to boot the afflicted Mboard to perform the flash. In which case the "Bugg" can simply block the overwrite of its own block. The creators of the expliot referred to this "feature" as being trivial to implement.
Well, if the backup BIOS is used to boot, the malware isn't going to activate, is it? :)
3659
General Software Discussion / Re: Rambooster. Junk?
« Last post by f0dder on March 28, 2009, 04:19 AM »
Yes, XP memory management is grossly deficient when you are running a dozen or two programs and it has a 1 GB to work with. That is what is wrong.

This occurs on any system.  You probably avoid it by watchiong memory and closing programs and such.  I've seen it on puter after puter.  XP will choke very easily, forcing a hard boot.
I used to run 32bit XP with a gig of memory, page file disabled, and no problems whatsoever. Including several weeks of uptime (this was before I had a linux server to do various tasks), and running both games and heavy stuff like visual studio.

Sounds like your system is seriously messed up :)
3660
Living Room / Re: Who else is sick of difficult word verifications on the web?
« Last post by f0dder on March 28, 2009, 01:24 AM »
nosh: solution :)
3661
General Software Discussion / Re: Rambooster. Junk?
« Last post by f0dder on March 27, 2009, 08:36 PM »
1. EmptyWorkingSet Function isn't SetProcessWorkingSetSize Function!
-majoMO
Show me proof? :)

2. "Empty.exe" (Microsoft tool) isn't "Clearmem.exe" (MS tool also)! Their actions are not the same!
-majoMO
I don't know those two tools, but if one works by "allocate insane amounts of memory" (lame) and the other does SetProcessWorkingSetSize(p,-1,-1) on all processes (better, but misguided) - sure.

P.S.: Worse than real Windows Myths are... the Myths created by "experts" guys with the Windows Anti-Myths...
-majoMO
Myths are bad, no matter who propagates them. I digged into the issue and have shown my findings... if you'd rather believe fairytales, your problem.

Which is quite a bit on my current 1MB system (twice the total memory !) and will be quite a bit on any XP sytem, where the max usable for programs is about 3.5 MB.  Why you think 2MB is twiddles is a real puzzle, I think you have too much emotionally invested in your view.
-Steven Avery
So, you're comparing the results of running a memory trimmer on a regular x86 box to memory constraints on a smartphone? Come on, be serious.

As for the rest of that paragraph, huh? If you get into a situation where you need a hardboot, something is wrong. Even the dreaded "pagefile too small" dialog box (which simply means you've tweaked pagefile settings and done it wrong) will go away eventually (but granted, I've seen it take almost 20 seconds on a box where I though I knew what I was doing, back then). No need for a hardboot.

I ran win2k with 160mb (and then 256mb) of RAM, and WinXP with 256meg and then 512meg, before moving to gigabyte and beyond. Power user kind of stuff, development tools and games. And never ever have those "ram freeing" programs done anything sensible. That goes for both the lame "alloc-huge-memory" as well as "force memorytrim".

Btw, you won't go into one of the "uh oh" situations from a normal application requesting 100kb or less of memory. If it happens, it's going to be on a system with extremely litte memory trying to run an application/game that wants to make a huge memory allocation... none of the memory cleaners are going to guard you against that.

3662
Developer's Corner / Re: Python performance boosting project launched by Google
« Last post by f0dder on March 27, 2009, 03:17 AM »
That sounds interesting, but isn't one of Python's biggest problems that it doesn't come as part of the standard Windows build (definitely does in most Linux distros, not sure about Mac)?  With a performance boost and this pre-installation, Python could have an extremely exciting future.
I can't see Microsoft including Python as standard with Windows... and it wouldn't really be fair to other programming languages, either. Why's it necessary, anyway? It's easy enough to download python, and I guess it should be possible to bundle it for non-tech users :)
3663
Living Room / Re: Anti-Necrospamming
« Last post by f0dder on March 26, 2009, 11:41 PM »
gexecuter's idea is nice, and even makes it a bit harder for spammers to auto-spam.

Iirc the previous thread about reviving old threads had some other good ideas, like having a clear visual indicator when a post appears X months later in a thread - color coding, warning block, whatever.

Also, it might be an idea to have some "Moderators, look at this" administrative page. This could list
1) "report to moderator" requests (I guess current version sends PM to all moderators?)
2) posts to very old threads (perhaps only by new members, or members with less than Y posts)
3) ...?
4) profit!

I definitely don't think old threads should be auto-locked, imho almost always better to re-use and old thread than post a new.
3664
Developer's Corner / Re: Python performance boosting project launched by Google
« Last post by f0dder on March 26, 2009, 11:36 PM »
LLVM and JIT'ing? That's pretty interesting :)

Very bad name though, allows for some pretty sleazy puns.
3665
General Software Discussion / Re: Rambooster. Junk?
« Last post by f0dder on March 26, 2009, 06:28 PM »
siouxdax: you shouldn't use any. If you have memory pigs like firefox (which even ff3 is, at least with the plugins I use), it's better to restart the offensive application every now and then, as needed.
3666
General Software Discussion / Re: Rambooster. Junk?
« Last post by f0dder on March 26, 2009, 03:19 PM »
I've done a little more reverse-engineering, and:

1) it seems like the information retrieved with GetSystemInfo() in EmptyWorkingSet() isn't used at all - weird to make the call, then.

2) EmptyWorkingSet does an NtQueryInformationProcess() (which SetProcesWorkingSetSize() doesn't), and then sets QuotaLimits.MaximumWorkingSetSize and QuotaLimits.MinimumWorkingSetSize to -1 (the fields that SetProcesWorkingSetSize() sets).

3) as best as I can tell, the code in NtSetInformationProcess() that handles ProcessQuotaLimits does an early-out if both those fields are set to -1, and calls a kernel function to - you guessed it - trim the working set. There also seems to be checks to ignore structure members that are 0, so even if I'm mistaken about the early-out, the zero-ed out structure that SetProcesWorkingSetSize() uses should be equivalent to EmptyWorkingSet()'s "pass in the old values". I could be wrong, of course, and there's quite a bit of code going on... but it seems unlikely.

For the rest of your post... the maximum memory saving you got was 100kb? Waaauw. Even if you had 20 processes that were trimmed like that, you'd save a whopping 2MB of memory. Add to that that you risk paging out a crapload to the pagefile (SLOW!), and at the very least you'll have discarded memory that must be re-loaded from unmodified files (slow, but at least faster than diskwrite + read).

And keep in mind that you can only trim the working set this way, it doesn't change the amount of memory the application actually hogs (sure, you might get that memory flushed to the pagefile, but as soon as the app starts using it again, it will re-enter the working set, along with a lovely disk I/O penalty).

For fun, I tried trimming firefox - too bad it hasn't been running an entire day and gobbling up 800 megabytes as it tends to end up doing :). The three screenshots are before trim, right after trim, and after looking through the 6 active tabs again (no scrolling, no loading of new pages, no pressing anything except activation each of the three tabs).

shot-2009-03-26@21.04.32.pngshot-2009-03-26@21.04.43.pngshot-2009-03-26@21.05.10.png

Now, if you look at all three pictures, you'll say "oh wow, my point is valid, see how working set remains small even after you start using it again!" - but check out the "available memory" column in the main window instead. Yep, we get a temporary increase of ~9MB, but as soon as I start using FF again, that turns into a ~7MB pessimization compared to before I ran the trim!

For fun, I closed FF, saving tabs, then re-launched it, and waited for the youtube video I had open to buffer fully. The result is the following screenshot... ~210MB saved. Have I made my point yet? (Oh yeah, that also involved starting an extra process - xplorer^2, I think).


shot-2009-03-26@21.16.52.png
3667
Paul Keith: I disagree with pretty much everything you've written, but... deadhorse.gif :)
3668
Living Room / Re: Steamworks Makes DRM Obsolete?
« Last post by f0dder on March 25, 2009, 08:26 PM »
Well,

decrypting and rebuilding datafiles to remove watermarking will be relatively trivial - especially since it's hard to watermark all content (if it's done on the fly by the servers, you can't take advantage of p2p distribution, and if it's done locally by the steam executable, it can be overridden). What they're going to do now is building custom executables - if done properly, getting rid of the watermarks is going to be pretty tough. Not impossible to beat, but tough.
3669
Living Room / Re: Steamworks Makes DRM Obsolete?
« Last post by f0dder on March 25, 2009, 08:11 PM »
I can't imagine them getting through this even remotely unscathed. I imagine unwrapping this will be no more difficult than unwrapping the protection they've been using up until this point.

Ehtyar.
Probably - but with a bit of smartness, they could do watermarking to track down leakers. That's not going to be foolproof either, but every little thing counts :)
3670
Living Room / Re: Steamworks Makes DRM Obsolete?
« Last post by f0dder on March 25, 2009, 07:41 PM »
Well, you can still think of this as a kind of DRM, the key point being that it's unobtrusive, and doesn't require nasty drivers or similar crap. As long as I can still install my STEAM games on both my workstation and laptop (not for playing on multiple computers at once, though), I really don't mind, and I much prefer a scheme like this compared to the crap on DVD/CD games.

<3 Valve.
3671
General Software Discussion / Re: 64 bit Vista
« Last post by f0dder on March 25, 2009, 07:37 PM »
64bit Windows versions don't support 16bit programs - this includes all DOS stuff, as well as win3.x style 16bit windows programs. This was a natural thing to drop support for, considering x86-64 doesn't support running 16bit code, and Microsoft would then have needed a CPU emulator. And not a big issue, since most people won't have a need for running that old legacy code.

However, the funny part: for whatever moronic reason, some of the various installation programs chose to write their installer stubs as 16bit code, even for programs that are meant for 32bit systems. This is a pretty braindead thing, and unfortunately does affect some programs. I'm not sure if there's any official fixes, but fortunately I haven't needed to install old software in quite a while - the programs I might have had problems with generally don't need reinstalls, and have thus survived numerous windows reinstalls (copy c:\usr\prg to another partition, move back after reinstall).
3672
True but you're still left with an underpowered PC compared to XP with those specs.
Dunno about that, really. I don't find Vista to be very CPU-draining, and x4500HD is (more than!) enough for running Aero pleasantly. The only thing a bit on the low end is the RAM, but that isn't a problem either - I'd even say it's a non-issue for people who aren't going to run anything heavy. I do appreciate 2GB in my laptop, but then again that's used for Eclipse, VS2008, SQL Server 2005 et cetera - a bit more than casual web browsing and some text editing ;)

See, that's the thing. You don't make large text documents. You create a .txt for each specific option. Often times proper folder hierarchy goes a long way. The only time you need .chm files is if you want to bleed your eyes out learning the ins and outs of the program and even then, rarely are they as useful as a book specifically for it. These are newbies we are talking about. Most of them won't have a problem with Linux if they all just rtfm or in this case rtf.chm. Of course this doesn't happen often enough though.
Navigating folder hierarchy, opening text files, and using filemanager "find in files" to look for a topic is easier than HtmlHelp? O_o

As for RTFM, that's really not something I'd expect being helpful for newbie on linux. The documentation there is often pretty bad, and definitely written with power users programmers in mind.

I think it would be even worse if you're on Linux and then you need a Windows program and wine can't emulate it well. Also remember that the Ubuntu model is much simpler to learn than XP. It both has a GUI installation guide from LiveCD and an actual LiveCD. You're also not bound to get infected by viruses because you tried connecting to the internet before installing an AV ESPECIALLY with newbies who don't know how prone to viruses Windows machine are.

1) if you need to run windows programs on linux, you have failed and might as well run windows.
2) newbies won't be installing the OS themselves.
3) limited user account on XP or Vista (with UAC love), windows' own firewall enabled, and "virus what me worry?". If tomos adds a free AV and firefox w/adblockplus to the mix, even better.

Yeah sure, linux has come a long way and the recent distros are relatively friendly, as long as you only need to do bog-standard stuff. I wager that, knowing their needs, I could put my mother or grandmother on linux - partially because they don't need much stuff, and more importantly because I'm familiar enough with linux to troubleshoot. But I'd still go for Windows, because it's less hassle and there's a lot more people with windows experience to help out.

Considering that tomos says he doesn't have linux experience at all, I'd say the choice is a no-brainer.
3673
IMO, I don't get why you don't just put XP with specs like those.
Probably because Vista comes standard with laptops today, and XP is usually an extra expense? Besides, Vista isn't as bad as a lot of people claim (after all, I'm still running it after my 30-day immersion experiment).

I really feel that the .chm files or whatever people call it is just containing too small to read texts that has a hard to get documentation because it relies on searching and trees.
Too small to read? depends on the font size used. And if the index tree is done properly, it's much easier to use than Ctrl+F'ing through a large text document (and besides, you still have full-text search with .chm - win/win).

My ideal OS would probably be a Linux distro based on Ubuntu like Linux Mint on a Gnome set up with a pre-configured XP on Virtualbox with basic instructions on how to move files between each other and a guide as to how to explain the slicing of RAM when running virtualized environment as well as to check how much RAM your current programs are eating up before activating XP.
For absolute beginners? O_o - bad idea. I wouldn't dare anything like that with non-powerusers. Even people that have been using computers for 10+ years but never took it beyond what they need for the office would be confused by this kind of setup.
3674
For absolute computer-newbies with limited needs, both linux and windows would be fine (as long as hardware is properly supported) - however, if you don't have enough linux knowledge to support them, linux might not be a wise choice. The linux "community" is not newbie-friendly, and too often you'll get replies like "rtfm" (hah, if there was any decent docs) or "you have the source, fix it". Frequently, too technical terms are also used. Add to the top of that that most "normal" people run windows, which could result in your non-techs getting exposure to (and wanting to run) windows-only applications.

The specs sound pretty OK for Vista, btw. RAM might be a bit in the low end, but I don't suppose they're going to be heavy users. Run the thing through vLite and they should be OK :)
3675
Living Room / Re: What is Twitter: A Funny Sarcastic Cartoon
« Last post by f0dder on March 24, 2009, 12:10 PM »
Mody Dick does look related - adds another dimension to the failure part.
Moody Dick? :-[
Pages: prev1 ... 142 143 144 145 146 [147] 148 149 150 151 152 ... 364next