Page 1 of 1
[Implemented] File-Lib to slow
Posted: Mon Feb 10, 2003 2:44 pm
by BackupUser
Restored from previous forum. Originally posted by tranquil.
Sorry Fred, but File-Accessing using PB is to slow.
Can only get at least 12% of the bandwith of my 100 Mbit Lan for sending/ receiving datas. Other applications made 70-80 % and even more. If I disable the writing functions it becomes much faster.
Rings, is your fastfile lib released now and ready for use?
Cheers
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
System: Windows 2000 Server, 512 MB Ram, GeForce4200 TI 128 MB DDR, Hercules Theater 6.1 DTS Sound
System 2: Mobile Pentium 4 2.4GHz 512 MB DDR GeForce4 420-32, Windows XP Home
Posted: Mon Feb 10, 2003 3:25 pm
by BackupUser
Restored from previous forum. Originally posted by fred.
You can use ReadData() for buffer read if you want sequential one.
Fred - AlphaSND
Posted: Mon Feb 10, 2003 3:58 pm
by BackupUser
Restored from previous forum. Originally posted by tranquil.
Hi Fred.
I only use ReadData() and WriteData() to handle binary data and that seems very slow to me. If I remove the WritingData-Code in my source there is a boost of 500% of network traffic.
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
System: Windows 2000 Server, 512 MB Ram, GeForce4200 TI 128 MB DDR, Hercules Theater 6.1 DTS Sound
System 2: Mobile Pentium 4 2.4GHz 512 MB DDR GeForce4 420-32, Windows XP Home
Posted: Mon Feb 10, 2003 4:07 pm
by BackupUser
Restored from previous forum. Originally posted by fred.
ReadData() are the fastest way, if you handle it correctly of course.
Fred - AlphaSND
Posted: Mon Feb 10, 2003 5:03 pm
by BackupUser
Restored from previous forum. Originally posted by tranquil.
The MD5 of the shared files is 100% the same, still after resuming, connection aborts/ reconnects and different sources. So I think I handle it correctly.
I will try to include a buffer for the downloaded files so I dont have to write every 4096 bytes buffer to harddisc. Possible that is faster!?
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
System: Windows 2000 Server, 512 MB Ram, GeForce4200 TI 128 MB DDR, Hercules Theater 6.1 DTS Sound
System 2: Mobile Pentium 4 2.4GHz 512 MB DDR GeForce4 420-32, Windows XP Home
Posted: Tue Feb 11, 2003 12:03 am
by BackupUser
Restored from previous forum. Originally posted by ricardo.
Rings, is your fastfile lib released now and ready for use?
Hi,
FasFile is agreat lib and very speed i use it in one app and it rocks.
Best Regards
Ricardo
Dont cry for me Argentina...
Posted: Tue Feb 11, 2003 8:19 am
by BackupUser
Restored from previous forum. Originally posted by Rings.
Originally posted by tranquil
Rings, is your fastfile lib released now and ready for use?
Cheers
Mike
It is ready for use but the release-date is not clearly coz some stuff is not finished yet(good examples and docs).
I plan to release 'PurePAK-I' in the near future, hopefully this month.More will come....stay tuned...
Its a long way to the top if you wanna .....CodeGuru
Posted: Wed Feb 12, 2003 6:23 pm
by BackupUser
Restored from previous forum. Originally posted by MrVainSCL.
Still looking forward
greetz
MrVainSCL! aka Thorsten
PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX9.0, SB AWE64, Win2000 + all Updates...