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
[Implemented] File-Lib to slow
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
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
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
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
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Rings.
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
It is ready for use but the release-date is not clearly coz some stuff is not finished yet(good examples and docs).Originally posted by tranquil
Rings, is your fastfile lib released now and ready for use?
Cheers
Mike
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
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm